1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Add sysconf(_SC_GETPW_R_SIZE_MAX).

This commit is contained in:
Jonas 'Sortie' Termansen 2014-02-28 16:30:00 +01:00
parent b4de9e4399
commit d6365e2da2

View file

@ -37,6 +37,7 @@ extern "C" long sysconf(int name)
case _SC_OPEN_MAX: return 0x10000;
case _SC_RTSIG_MAX: return (SIGRTMAX+1) - SIGRTMIN;
case _SC_GETGR_R_SIZE_MAX: return -1;
case _SC_GETPW_R_SIZE_MAX: return -1;
default:
fprintf(stderr, "%s:%u warning: %s(%i) is unsupported\n",
__FILE__, __LINE__, __func__, name);