summaryrefslogtreecommitdiffstats
path: root/lib/argv_split.c
Commit message (Collapse)AuthorAgeFilesLines
* add argv_split()Jeremy Fitzhardinge2007-07-181-0/+105
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>
OpenPOWER on IntegriCloud