aboutsummaryrefslogtreecommitdiff
path: root/std/stdlib.sloth
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-06-28 18:46:36 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2023-06-28 18:46:36 -0500
commit8262abdea18cdb873b2012411bfebe131fb37d52 (patch)
tree920903ef91ffe2d4b7dd24b0d34a616d424c3732 /std/stdlib.sloth
parent73843fa284968b4efb0ae51858cb37d0189c4b83 (diff)
downloadsloth-8262abdea18cdb873b2012411bfebe131fb37d52.tar.gz
std
Diffstat (limited to 'std/stdlib.sloth')
-rw-r--r--std/stdlib.sloth1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/stdlib.sloth b/std/stdlib.sloth
index 4213e0a..4d3617f 100644
--- a/std/stdlib.sloth
+++ b/std/stdlib.sloth
@@ -6,5 +6,6 @@ foreign fn parse_int(str: String) Int;
foreign fn termpos(x: Int, y: Int);
foreign fn as_int(x: Float) Int;
foreign fn istr(x: Int) String;
+foreign fn system(cmd: String) Int;
foreign fn termclear() Void;