STRSEP

Section: Linux Programmer's Manual (3)
Updated: April 12, 1993
Index Return to Main Contents
 

NAME

strsep - extract token from string  

SYNOPSIS

#include <string.h>

char *strsep(char **stringp, const char *delim);
 

DESCRIPTION

The strsep() function returns the next token from the string stringp which is delimited by delim. The token is terminated with a `\0' character and stringp is updated to point past the token.  

RETURN VALUE

The strsep() function returns a pointer to the token, or NULL if delim is not found in stringp.  

CONFORMING TO

BSD 4.3  

SEE ALSO

index(3), memchr(3), rindex(3), strchr(3), strpbrk(3), strspn(3), strstr(3), strtok(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 12:24:03 GMT, March 22, 2025