IIUC strtok_r appeared in IEEE Std 1003.1c-1995, the diff below documents that. That would be the first use of .St -p1003.1c-95 in the tree. (Is this one available online? My search skillz have failed me so far...)
Other systems: - linux, "POSIX.1-2001, POSIX.1-2008", FreeBSD - freebsd, "IEEE Std 1003.1-2001 (``POSIX.1'')" - netbsd, "IEEE Std 1003.1c-1995 (``POSIX.1'')" Thoughts? ok? Also, mandoc -Tlint warns: mandoc: strtok.3:90:2: STYLE: useless macro: Tn s/Tn/Li/ ? Other manpages are affected. Index: strtok.3 =================================================================== RCS file: /d/cvs/src/lib/libc/string/strtok.3,v retrieving revision 1.21 diff -u -p -p -u -r1.21 strtok.3 --- strtok.3 5 Jun 2013 03:39:23 -0000 1.21 +++ strtok.3 28 Aug 2017 12:26:54 -0000 @@ -140,6 +140,10 @@ The .Fn strtok function conforms to .St -ansiC . +The +.Fn strtok_r +function conforms to +.St -p1003.1c-95 . .Sh HISTORY The .Fn strtok -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE