Skip to content

Commit 8bed3a8

Browse files
committed
Added mkdir and rm
1 parent df8afb0 commit 8bed3a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pixie/stdlib.pxi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
(def fopen (ffi-fn libc "fopen" [CCharP CCharP] CVoidP))
1919
(def fread (ffi-fn libc "fread" [CVoidP CInt CInt CVoidP] CInt))
2020
(def mkdtemp (ffi-fn libc "mkdtemp" [CCharP] CCharP))
21+
(def mkdir (ffi-fn libc "mkdir" [CCharP] CCharP))
2122
(def rmdir (ffi-fn libc "rmdir" [CCharP] CCharP))
23+
(def rm (ffi-fn libc "remove" [CCharP] CCharP))
2224

2325
(def libm (ffi-library (str "libm." pixie.platform/so-ext)))
2426
(def atan2 (ffi-fn libm "atan2" [CDouble CDouble] CDouble))

0 commit comments

Comments
 (0)