From 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:07 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man3/strsep.3 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'man3/strsep.3') diff --git a/man3/strsep.3 b/man3/strsep.3 index bf86fcf..aac29b9 100644 --- a/man3/strsep.3 +++ b/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 2023-10-31 "Linux man-pages 6.7" .SH NAME strsep \- extract token from string .SH LIBRARY @@ -20,15 +20,15 @@ Standard C library .SH SYNOPSIS .nf .B #include -.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]" -- cgit v1.2.3