OpenGrok
Cross Reference: strndup.c
xref
: /
src
/
lib
/
libc
/
string
/
strndup.c
Home
|
History
|
Annotate
|
Download
|
only in
string
History log of
/src/lib/libc/string/strndup.c
Revision
Date
Author
Comments
1.4
03-Jul-2007
nakayama
Add strndup(3) to libnbcompat, since estrndup(3) added into efun.c calls it.
1.3
14-Jan-2007
cbiere
Avoid lint warning.
1.2
14-Jan-2007
cbiere
Look only at the first `n' characters to avoid traversing a potentially
huge string for nothing.
1.1
12-Aug-2006
christos
branches: 1.1.2;
- Add strndup and stresep
- Use stresep so in fstab so that we can mount paths with white space in them.
1.1.2.1
27-Aug-2006
riz
Pull up following revision(s) (requested by tron in ticket #63):
regress/lib/libc/string/Makefile: revision 1.9
lib/libc/string/strsep.3: revision 1.17
lib/libc/string/strsep.3: revision 1.18
regress/lib/libc/string/stresep/Makefile: revision 1.1
distrib/sets/lists/base/shl.mi: revision 1.364
regress/lib/libc/string/stresep/stresep_test.c: revision 1.1
lib/libc/gen/fstab.c: revision 1.28
lib/libc/shlib_version: revision 1.181
lib/libc/string/strndup.c: revision 1.1
lib/libc/string/strdup.3: revision 1.13
lib/libc/string/strdup.3: revision 1.14
lib/libc/string/Makefile.inc: revision 1.61
include/string.h: revision 1.31
distrib/sets/lists/comp/mi: revision 1.909
lib/libc/string/stresep.c: revision 1.1
lib/libc/include/namespace.h: revision 1.118
- Add strndup and stresep
- Use stresep so in fstab so that we can mount paths with white space in th=
em.
Add stresep and strndup.
add regression test for stresep.
libc 146
man pages for stresep and strndup.
Mark up NULL.
stresep, not strnsep. Remove duplicate "the". Bump date for previous.
Indexes created Sat Sep 27 14:09:57 GMT 2025