diff options
| author | 2017-09-05 03:16:13 +0000 | |
|---|---|---|
| committer | 2017-09-05 03:16:13 +0000 | |
| commit | 3a628b46e7aaa520a6215eccabf31d313c2e7de0 (patch) | |
| tree | c6543ac3a194244f09c381abe688fa69e6c8d49a /lib/libc/hidden/string.h | |
| parent | Add additional errno values required by POSIX. (diff) | |
| download | wireguard-openbsd-3a628b46e7aaa520a6215eccabf31d313c2e7de0.tar.xz wireguard-openbsd-3a628b46e7aaa520a6215eccabf31d313c2e7de0.zip | |
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.
Diffstat (limited to 'lib/libc/hidden/string.h')
| -rw-r--r-- | lib/libc/hidden/string.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/hidden/string.h b/lib/libc/hidden/string.h index f8a92b96145..0b9554a9f4a 100644 --- a/lib/libc/hidden/string.h +++ b/lib/libc/hidden/string.h @@ -1,4 +1,4 @@ -/* $OpenBSD: string.h,v 1.3 2015/09/10 18:13:46 guenther Exp $ */ +/* $OpenBSD: string.h,v 1.4 2017/09/05 03:16:13 schwarze Exp $ */ /* * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> * @@ -42,21 +42,25 @@ PROTO_DEPRECATED(rindex); PROTO_DEPRECATED(stpcpy); PROTO_NORMAL(stpncpy); PROTO_NORMAL(strcasecmp); +PROTO_DEPRECATED(strcasecmp_l); PROTO_NORMAL(strcasestr); PROTO_STD_DEPRECATED(strcat); PROTO_NORMAL(strchr); PROTO_NORMAL(strcmp); PROTO_NORMAL(strcoll); +PROTO_DEPRECATED(strcoll_l); PROTO_STD_DEPRECATED(strcpy); PROTO_NORMAL(strcspn); PROTO_NORMAL(strdup); PROTO_NORMAL(strerror); +PROTO_DEPRECATED(strerror_l); PROTO_NORMAL(strerror_r); PROTO_NORMAL(strlcat); PROTO_NORMAL(strlcpy); PROTO_NORMAL(strlen); PROTO_NORMAL(strmode); PROTO_NORMAL(strncasecmp); +PROTO_DEPRECATED(strncasecmp_l); PROTO_NORMAL(strncat); PROTO_NORMAL(strncmp); PROTO_NORMAL(strncpy); @@ -71,6 +75,7 @@ PROTO_NORMAL(strstr); PROTO_NORMAL(strtok); PROTO_NORMAL(strtok_r); PROTO_NORMAL(strxfrm); +PROTO_DEPRECATED(strxfrm_l); PROTO_NORMAL(timingsafe_bcmp); PROTO_NORMAL(timingsafe_memcmp); |
