.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "STRSEP" "" "06 October 2005" "" "" .SH NAME strsep \- Split a string into tokens .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp char * strsep (char ** \fIs\fB, const char * \fIct\fB); \fR .SH "ARGUMENTS" .TP \fB\fIs\fB\fR The string to be searched .TP \fB\fIct\fB\fR The characters to search for .SH "DESCRIPTION" .PP \fBstrsep\fR updates \fIs\fR to point after the token, ready for the next call. .PP It returns empty tokens, too, behaving exactly like the libc function of that name. In fact, it was stolen from glibc2 and de-fancy-fied. Same semantics, slimmer shape. ;)