diff options
Diffstat (limited to 'Libraries/LibC/unistd.cpp')
-rw-r--r-- | Libraries/LibC/unistd.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Libraries/LibC/unistd.cpp b/Libraries/LibC/unistd.cpp index 80b05a16af..30929d47c1 100644 --- a/Libraries/LibC/unistd.cpp +++ b/Libraries/LibC/unistd.cpp @@ -722,4 +722,10 @@ char* getpass(const char* prompt) dbg() << "FIXME: getpass(\"" << prompt << "\")"; ASSERT_NOT_REACHED(); } + +long sysconf(int name) +{ + int rc = syscall(SC_sysconf, name); + __RETURN_WITH_ERRNO(rc, rc, -1); +} } |