mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add sysconf(_SC_GETGR_R_SIZE_MAX).
This commit is contained in:
parent
73dc4a0feb
commit
b4de9e4399
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue