Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
claudio e93dc626f3 Replace the simple memmem() implementation with a version that is O(n) 4 years ago
..
Makefile.inc New POSIX xlocale implementation written from scratch. 6 years ago
bcmp.3 Document that these functions are now in strings.h. 8 years ago
bcmp.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
bcopy.3 Document that these functions are now in strings.h. 8 years ago
bcopy.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
bzero.3 Add STANDARDS: denis@ spotted that it was missing. 6 years ago
bzero.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
explicit_bzero.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
ffs.3 adapt to bitstring(3) renaming, and look at that bit_ffs(3) is the actual 4 years ago
ffs.c Instead of trying to handle ffs() with the normal rename-mark-hidden-and-alias 6 years ago
memccpy.3 According to POSIX, if the src and dst strings overlap, the behavior 10 years ago
memccpy.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
memchr.3 Add some missing names to the NAME sections. 10 years ago
memchr.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
memcmp.3 Add timingsafe_memcmp(). 10 years ago
memcmp.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
memcpy.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
memcpy.c clang doesn't propagate attributes like "asm labels" and "visibility(hidden)" 6 years ago
memmem.3 use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@ 11 years ago
memmem.c Replace the simple memmem() implementation with a version that is O(n) 4 years ago
memmove.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
memmove.c clang doesn't propagate attributes like "asm labels" and "visibility(hidden)" 6 years ago
memrchr.c I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
memset.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
memset.c clang doesn't propagate attributes like "asm labels" and "visibility(hidden)" 6 years ago
stpcpy.3 in HISTORY, say where this actually came from; 10 years ago
stpcpy.c GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections 6 years ago
stpncpy.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strcasecmp.3 New POSIX xlocale implementation written from scratch. 6 years ago
strcasecmp.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strcasecmp_l.c New POSIX xlocale implementation written from scratch. 6 years ago
strcasestr.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strcat.3 The destination string is declared as "s" but referred to as "dst" 8 years ago
strcat.c GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections 6 years ago
strchr.3 As per POSIX, when str{,r}chr is comparing it should convert c to a char. 5 years ago
strchr.c As per POSIX, when str{,r}chr is comparing it should convert c to a char. 5 years ago
strcmp.3 more library history 11 years ago
strcmp.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strcoll.3 Improve the description of locale dependency: 5 years ago
strcoll.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strcoll_l.c New POSIX xlocale implementation written from scratch. 6 years ago
strcpy.3 Use somewhat harsher language and better examples; demonstrate that 10 years ago
strcpy.c GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections 6 years ago
strcspn.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
strcspn.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strdup.3 Phrase allocation failure more clearly. ok deraadt@ 8 years ago
strdup.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strerror.3 More consistently put remarks about the less useful LC_* categoties, 5 years ago
strerror.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strerror_l.c New POSIX xlocale implementation written from scratch. 6 years ago
strerror_r.c Remove the save_errno dance inside strerror_r(3). It is from the 7 years ago
strlcat.c I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
strlcpy.3 I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
strlcpy.c I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
strlen.3 no more string(3); 9 years ago
strlen.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strmode.3 void functions don't return 0 7 years ago
strmode.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strncat.3 tweak previous; 10 years ago
strncat.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strncmp.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strncpy.3 Use somewhat harsher language and better examples; demonstrate that 10 years ago
strncpy.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strndup.c I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
strnlen.c I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
strpbrk.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
strpbrk.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strrchr.3 As per POSIX, when str{,r}chr is comparing it should convert c to a char. 5 years ago
strrchr.c As per POSIX, when str{,r}chr is comparing it should convert c to a char. 5 years ago
strsep.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
strsep.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strsignal.3 More consistently put remarks about the less useful LC_* categoties, 5 years ago
strsignal.c __strsignal() is now declared in hidden/signal.h 8 years ago
strspn.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
strspn.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strstr.3 Add RETURN VALUES section and .Xr to memmem(3). 8 years ago
strstr.c Resync our strstr.c with the musl version. Removes some debug code and 4 years ago
strtok.3 delete pointless .Tn ASCII found by jca@ with mandoc -Tlint 6 years ago
strtok.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strxfrm.3 Improve the description of locale dependency: 5 years ago
strxfrm.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
strxfrm_l.c New POSIX xlocale implementation written from scratch. 6 years ago
swab.3 catch up with swab.c rev. 1.9: 9 years ago
swab.c update swab() to match the current posix definition. "rationale: none." 9 years ago
timingsafe_bcmp.3 loosen the spec for timingsafe functions slightly, so as to not 10 years ago
timingsafe_bcmp.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
timingsafe_memcmp.c Add framework for resolving (pun intended) libc namespace issues, using 8 years ago
wcscasecmp.3 New POSIX xlocale implementation written from scratch. 6 years ago
wcscasecmp.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcscasecmp_l.c New POSIX xlocale implementation written from scratch. 6 years ago
wcscat.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcscat.c GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections 6 years ago
wcschr.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcschr.c Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one 8 years ago
wcscmp.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcscmp.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcscpy.3 the referred to EXAMPLES section is now in strncpy(3); 7 years ago
wcscpy.c GNU ld has prefixed the contents of .gnu.warning.SYMBOL sections 6 years ago
wcscspn.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcscspn.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcsdup.3 update HISTORY and SEE ALSO for all of string(3), together with various 13 years ago
wcsdup.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcslcat.c I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
wcslcpy.3 I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
wcslcpy.c I am retiring my old email address; replace it with my OpenBSD one. 5 years ago
wcslen.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcslen.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcsncat.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcsncmp.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcsncpy.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcspbrk.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcspbrk.c Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one 8 years ago
wcsrchr.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcsrchr.c Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one 8 years ago
wcsspn.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcsspn.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wcsstr.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wcsstr.c Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one 8 years ago
wcstok.3 update HISTORY and SEE ALSO for all of string(3), together with various 13 years ago
wcstok.c zap remaining rcsid. 19 years ago
wcswcs.c Import w* functions so that I can send smaller diffs around. 19 years ago
wcswidth.3 update HISTORY and SEE ALSO for all of string(3), together with various 13 years ago
wcswidth.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wmemchr.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wmemchr.c Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one 8 years ago
wmemcmp.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wmemcmp.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wmemcpy.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wmemcpy.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wmemmove.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wmemmove.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago
wmemset.3 Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze 11 years ago
wmemset.c Wrap <inttypes.h> and finish wrapping of <wchar.h> so that calls go direct 8 years ago