OpenGrok
Cross Reference: strtok_r.c
xref
: /
src
/
lib
/
libc
/
string
/
strtok_r.c
Home
|
History
|
Annotate
|
Download
|
only in
string
History log of
/src/lib/libc/string/strtok_r.c
Revision
Date
Author
Comments
1.10
25-Jun-2012
abs
Update old-style definitions to ANSI, remove a couple of register
definitions along the way. Fixed gcc 4.1 build (thank you vax)
1.9
07-Aug-2003
agc
branches: 1.9.56;
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
1.8
22-Jan-2000
mycroft
Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
1.7
20-Sep-1999
lukem
back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.
1.6
16-Sep-1999
lukem
* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.
the first two items result in the addition of code similar to the
following in various functions:
_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
1.5
15-Nov-1998
christos
delint
1.4
27-Sep-1998
kleink
Add an internal name for strtok_r().
1.3
03-Feb-1998
perry
remove obsolete register declarations
1.2
13-Jul-1997
christos
Fix RCSID's
Use "extern.h" where appropriate.
1.1
12-Nov-1996
jtc
Add strtok_r() for reentrant (thread-aware) programs
1.9.56.1
30-Oct-2012
yamt
sync with head
Indexes created Tue Sep 30 11:09:46 GMT 2025