Commit d8201c00 authored by Jonas Termansen's avatar Jonas Termansen

Add sysconf(_SC_MONOTONIC_CLOCK).

parent c56daca6
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment