]> git.saurik.com Git - apple/libc.git/blob - string/FreeBSD/strtok.3.patch
c8ae65212e3e6a1c0b6d17dc55f2ca64e8979795
[apple/libc.git] / string / FreeBSD / strtok.3.patch
1 --- _SB/Libc/string/FreeBSD/strtok.3 2003-05-20 15:23:55.000000000 -0700
2 +++ _SB/Libc/string/FreeBSD/strtok.3.edit 2006-06-28 16:55:53.000000000 -0700
3 @@ -61,9 +61,16 @@
4 .Sh SYNOPSIS
5 .In string.h
6 .Ft char *
7 -.Fn strtok "char *str" "const char *sep"
8 +.Fo strtok
9 +.Fa "char *restrict str"
10 +.Fa "const char *restrict sep"
11 +.Fc
12 .Ft char *
13 -.Fn strtok_r "char *str" "const char *sep" "char **last"
14 +.Fo strtok_r
15 +.Fa "char *restrict str"
16 +.Fa "const char *restrict sep"
17 +.Fa "char **restrict lasts"
18 +.Fc
19 .Sh DESCRIPTION
20 .Bf -symbolic
21 This interface is obsoleted by