summaryrefslogtreecommitdiff
path: root/LibC/stdlib.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-26 12:57:02 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-26 12:57:02 +0100
commitcccc8d8aeb0e204283c76ccb0e92fba2e2a0071c (patch)
tree18a99d2ee1e53b2dc993220d93a4a1993f5c5925 /LibC/stdlib.cpp
parentf6b41d166d0e1b42c8b029ab69b2ae12071ea9f7 (diff)
downloadserenity-cccc8d8aeb0e204283c76ccb0e92fba2e2a0071c.zip
More compat work.
Move syscall to int 0x82 since using int 0x80 was kinda prone to fork bombs when building things on Linux. :^)
Diffstat (limited to 'LibC/stdlib.cpp')
-rw-r--r--LibC/stdlib.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/LibC/stdlib.cpp b/LibC/stdlib.cpp
index f9e425d6dd..d7e12e9276 100644
--- a/LibC/stdlib.cpp
+++ b/LibC/stdlib.cpp
@@ -201,6 +201,11 @@ char* getenv(const char* name)
return nullptr;
}
+int putenv(char*)
+{
+ assert(false);
+}
+
double atof(const char*)
{
assert(false);