]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/strsep.3
Automated unformatting of parentheses using unformat_parens.sh
[thirdparty/man-pages.git] / man3 / strsep.3
index ad8a9eba58fbcbf64db253e71b6ec205b63a7933..3a8fae125977c1886a521c97cb94bdede0f6530f 100644 (file)
@@ -38,7 +38,7 @@ strsep \- extract token from string
 .BI "char *strsep(char **" stringp ", const char *" delim );
 .fi
 .SH DESCRIPTION
-If *\fIstringp\fP is NULL, the \fBstrsep()\fP function returns NULL
+If *\fIstringp\fP is NULL, the \fBstrsep\fP() function returns NULL
 and does nothing else. Otherwise, this function finds the first token
 in the string *\fIstringp\fP, where tokens
 are delimited by symbols in the string \fIdelim\fP.
@@ -48,14 +48,14 @@ and *\fIstringp\fP is updated to point past the token.
 In case no delimiter was found, the token is taken to be
 the entire string *\fIstringp\fP, and *\fIstringp\fP is made NULL.
 .SH "RETURN VALUE"
-The \fBstrsep()\fP function returns a pointer to the token,
+The \fBstrsep\fP() function returns a pointer to the token,
 that is, it returns the original value of *\fIstringp\fP.
 .SH NOTES
-The \fBstrsep()\fP function was introduced as a replacement for
-\fBstrtok()\fP, since the latter cannot handle empty fields.
-However, \fBstrtok()\fP conforms to ANSI-C and hence is more portable.
+The \fBstrsep\fP() function was introduced as a replacement for
+\fBstrtok\fP(), since the latter cannot handle empty fields.
+However, \fBstrtok\fP() conforms to ANSI-C and hence is more portable.
 .SH BUGS
-This function suffers from the same problems as \fBstrtok()\fP.
+This function suffers from the same problems as \fBstrtok\fP().
 In particular, it modifies the original string. Avoid it.
 .SH "CONFORMING TO"
 4.4BSD