aboutsummaryrefslogtreecommitdiff
path: root/std/stdlib.sloth
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-06-28 22:10:41 -0500
committerCody <cody@codyq.dev>2023-06-28 22:10:41 -0500
commitc4d6a1229c35cc889a1db53cf1c9d87d2f662238 (patch)
treed49d20c7057b520b9140559333cba8a918242116 /std/stdlib.sloth
parent1349ebd2fc2a08a45c8e138002c5254ee6978540 (diff)
parent8262abdea18cdb873b2012411bfebe131fb37d52 (diff)
downloadsloth-c4d6a1229c35cc889a1db53cf1c9d87d2f662238.tar.gz
Merge branch 'master' of github.com:slothlang/slothlang
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;