summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2025-05-24 11:10:48 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2025-05-31 19:52:42 +0000
commit98af94cae78a01a62d1094e4f255f50af2e1269a (patch)
treec2328a36a9e1915660292e6dec812b34e3861585 /include
parentb9c8a07d4dd932aaa43a4ed4c2fe07ac3d901544 (diff)
sysconf(3): add _SC_UEXTERR_LEN, the max length of the extended error string
Reviewed by: brooks Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D50483
Diffstat (limited to 'include')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 8574b2ba9915..33dd983eb11a 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -292,6 +292,7 @@ typedef __useconds_t useconds_t;
#define _SC_NPROCESSORS_CONF 57
#define _SC_NPROCESSORS_ONLN 58
#define _SC_CPUSET_SIZE 122
+#define _SC_UEXTERR_MAXLEN 123 /* user */
#endif
/* Extensions found in Solaris and Linux. */