1 /* BSD strsep function */
3 /* Copyright 2002, Red Hat Inc. */
5 /* undef STRICT_ANSI so that strsep prototype will be defined */
11 extern char *__strtok_r (char *, const char *, char **, int);
14 _DEFUN (strsep
, (source_ptr
, delim
),
15 register char **source_ptr _AND
16 register const char *delim
)
18 return __strtok_r (*source_ptr
, delim
, source_ptr
, 0);