[PATCH] strstrip() API
commit481fad483487ea967fe20bbc9e565d787f7bf20f
authorPekka Enberg <penberg@cs.helsinki.fi>
Fri, 23 Jun 2006 09:05:44 +0000 (23 02:05 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:43:06 +0000 (23 07:43 -0700)
tree3a76336443129975d9f7ba99f9a9ea1c494315e5
parent3fa2164d03fb7af17fcfe4f8800dd754fbd99ff7
[PATCH] strstrip() API

Add a new strstrip() function to lib/string.c for removing leading and
trailing whitespace from a string.

Cc: Michael Holzheu <holzheu@de.ibm.com>
Acked-by: Ingo Oeser <ioe-lkml@rameria.de>
Acked-by: Joern Engel <joern@wohnheim.fh-wedel.de>
Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Acked-by: Michael Holzheu <HOLZHEU@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/string.h
lib/string.c