CVS Repository/ src/ include/ strings.h


OpenBSD release(s):
1.7 (79),  1.6 (78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62),  1.4 (61 60 59),  1.3 (58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34),  1.2 (33 32 31 30 29 28 27 26 25 24 23 22),  1.1.1.1 (21 20), 
Tags:
1.1.1.1 (netbsd_1_1), 
revision 1.7/ (Download) - annotate - Fri, 24 Oct 2025 11:30:06 UTC by claudio
OpenBSD release(s): 79
Changes since 1.6: +5 -1 (diff)
Implement ffsl() and ffsll() using the compiler builtin __builtin_ctzl
now that all archs use at least gcc4.
ffsl() and ffsll() are now part of POSIX.
OK deraadt@, input from miod@ and jsg@

revision 1.6/ (Download) - annotate - Sun, 10 Sep 2017 21:50:36 UTC by schwarze
OpenBSD release(s): 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62
Changes since 1.5: +3 -1 (diff)
str[n]casecmp_l(3) appeared in POSIX 2008, not in XPG 4;
phessler@ reported that this oversight broke an armv7 bulk build;
OK guenther@

revision 1.5/ (Download) - annotate - Tue, 05 Sep 2017 03:16:13 UTC by schwarze
Changes since 1.4: +10 -1 (diff)
New POSIX xlocale implementation written from scratch.
Complete in the sense that all POSIX *locale(3) and *_l(3) functions
are included, but in OpenBSD, we of course only really care about
LC_CTYPE and we only support ASCII and UTF-8.

With important help from kettenis@, guenther@, and jca@.
Repeated testing in ports bulk builds by naddy@.
Additional testing by jca@, sebastia@, dcoppa@, and others.
OK kettenis@ dcoppa@, and guenther@ on an earlier version.
Riding guenther@'s libc/librthread major bump.

revision 1.4/ (Download) - annotate - Fri, 20 Nov 2015 23:40:32 UTC by millert
OpenBSD release(s): 61 60 59
Changes since 1.3: +40 -3 (diff)
POSIX says that ffs(), strcasecmp(), strncasecmp(), r?index() and
the b* byte functions belong in strings.h, not string.h so break
them out of string.h into a new strings.h.  As long as there is no
POSIX or X/OPEN define in use string.h will pull in strings.h.
OK naddy@ deraadt@

revision 1.3/ (Download) - annotate - Mon, 02 Jun 2003 19:34:12 UTC by millert
OpenBSD release(s): 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34
Changes since 1.2: +2 -6 (diff)
Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

revision 1.2/ (Download) - annotate - Sun, 21 Sep 1997 10:45:54 UTC by niklas
OpenBSD release(s): 33 32 31 30 29 28 27 26 25 24 23 22
Changes since 1.1: +1 -0 (diff)
Well, as we are heading for a release people are encouraged to rebuild their
entire trees for testing anyway, I might as well do this intrusive touching
of include files now.  Added openBSD tags.

revision 1.1/ (Download) - annotate - Wed, 18 Oct 1995 08:41:14 UTC by deraadt
Branch point for: 1.1.1.1
Initial revision

revision 1.1.1.1/ (Download) - annotate - Wed, 18 Oct 1995 08:41:14 UTC by deraadt
OpenBSD release(s): 21 20
Tags: netbsd_1_1
Changes since 1.1: None
initial import of NetBSD tree