mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add sysconf(_SC_MONOTONIC_CLOCK).
This commit is contained in:
parent
c56daca682
commit
d8201c007a
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ extern "C" long sysconf(int name)
|
|||
case _SC_RTSIG_MAX: return (SIGRTMAX+1) - SIGRTMIN;
|
||||
case _SC_GETGR_R_SIZE_MAX: return -1;
|
||||
case _SC_GETPW_R_SIZE_MAX: return -1;
|
||||
case _SC_MONOTONIC_CLOCK: return _POSIX_MONOTONIC_CLOCK;
|
||||
default:
|
||||
fprintf(stderr, "%s:%u warning: %s(%i) is unsupported\n",
|
||||
__FILE__, __LINE__, __func__, name);
|
||||
|
|
Loading…
Add table
Reference in a new issue