diff --git a/libc/unistd/sysconf.cpp b/libc/unistd/sysconf.cpp index c37694b0..c1b1d7c2 100644 --- a/libc/unistd/sysconf.cpp +++ b/libc/unistd/sysconf.cpp @@ -1,6 +1,6 @@ /******************************************************************************* - Copyright(C) Jonas 'Sortie' Termansen 2013. + Copyright(C) Jonas 'Sortie' Termansen 2013, 2014. This file is part of the Sortix C Library. @@ -36,6 +36,7 @@ extern "C" long sysconf(int name) return getpagesize(); case _SC_OPEN_MAX: return 0x10000; case _SC_RTSIG_MAX: return (SIGRTMAX+1) - SIGRTMIN; + case _SC_GETGR_R_SIZE_MAX: return -1; default: fprintf(stderr, "%s:%u warning: %s(%i) is unsupported\n", __FILE__, __LINE__, __func__, name);