Add sysconf(_SC_GETGR_R_SIZE_MAX).

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-28 16:29:41 +01:00
parent 73dc4a0feb
commit b4de9e4399
1 changed files with 2 additions and 1 deletions

View File

@ -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);