diff options
author | Jeremy Fitzhardinge <jeremy@xensource.com> | 2007-07-18 03:37:02 +0200 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy@goop.org> | 2007-07-18 17:47:40 +0200 |
commit | d84d1cc7647c7e4f77d517e2d87b4a106a0420d9 (patch) | |
tree | b6ccc40d323998d4ad013c7b05613bc727a8f4e0 /arch/avr32 | |
parent | add kstrndup (diff) | |
download | linux-d84d1cc7647c7e4f77d517e2d87b4a106a0420d9.tar.xz linux-d84d1cc7647c7e4f77d517e2d87b4a106a0420d9.zip |
add argv_split()
argv_split() is a helper function which takes a string, splits it at
whitespace, and returns a NULL-terminated argv vector. This is
deliberately simple - it does no quote processing of any kind.
[ Seems to me that this is something which is already being done in
the kernel, but I couldn't find any other implementations, either to
steal or replace. Keep an eye out. ]
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions