From 98af94cae78a01a62d1094e4f255f50af2e1269a Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sat, 24 May 2025 14:10:48 +0300 Subject: 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 --- include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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. */ -- cgit v1.3