summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/strsep.3
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/strsep.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/strsep.313
1 files changed, 6 insertions, 7 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/strsep.3 b/upstream/opensuse-tumbleweed/man3/strsep.3
index bf86fcfb..a3f0153c 100644
--- a/upstream/opensuse-tumbleweed/man3/strsep.3
+++ b/upstream/opensuse-tumbleweed/man3/strsep.3
@@ -11,7 +11,7 @@
.\" Modified Mon Jan 20 12:04:18 1997 by Andries Brouwer (aeb@cwi.nl)
.\" Modified Tue Jan 23 20:23:07 2001 by Andries Brouwer (aeb@cwi.nl)
.\"
-.TH strsep 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH strsep 3 2024-05-02 "Linux man-pages (unreleased)"
.SH NAME
strsep \- extract token from string
.SH LIBRARY
@@ -20,15 +20,15 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <string.h>
-.PP
+.P
.BI "char *strsep(char **restrict " stringp ", const char *restrict " delim );
.fi
-.PP
+.P
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.RE
-.PP
+.P
.BR strsep ():
.nf
Since glibc 2.19:
@@ -79,12 +79,11 @@ T{
.BR strsep ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
None.
.SH HISTORY
4.4BSD.
-.PP
+.P
The
.BR strsep ()
function was introduced as a replacement for
@@ -106,7 +105,7 @@ The identity of the delimiting character is lost.
The program below is a port of the one found in
.BR strtok (3),
which, however, doesn't discard multiple delimiters or empty tokens:
-.PP
+.P
.in +4n
.EX
.RB "$" " ./a.out \[aq]a/bbb///cc;xxx:yyy:\[aq] \[aq]:;\[aq] \[aq]/\[aq]"