mirror of https://github.com/mkerrisk/man-pages
strtok.3: The caller should not modify 'saveptr' between strtok_r() calls
Reported-by: eponymous alias <eponymousalias@yahoo.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
362310a7bd
commit
85987f9818
|
@ -151,7 +151,8 @@ is ignored.
|
|||
In subsequent calls,
|
||||
.I str
|
||||
should be NULL, and
|
||||
.I *saveptr
|
||||
.I saveptr
|
||||
(and the buffer that it points to)
|
||||
should be unchanged since the previous call.
|
||||
.PP
|
||||
Different strings may be parsed concurrently using sequences of calls to
|
||||
|
|
Loading…
Reference in New Issue