Skip to content

Commit

Permalink
Added mkdir and rm
Browse files Browse the repository at this point in the history
  • Loading branch information
oholiab authored and mks-m committed May 1, 2016
1 parent f891c5c commit 72a76a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pixie/stdlib.pxi
Expand Up @@ -18,7 +18,9 @@
(def fopen (ffi-fn libc "fopen" [CCharP CCharP] CVoidP))
(def fread (ffi-fn libc "fread" [CVoidP CInt CInt CVoidP] CInt))
(def mkdtemp (ffi-fn libc "mkdtemp" [CCharP] CCharP))
(def mkdir (ffi-fn libc "mkdir" [CCharP] CCharP))
(def rmdir (ffi-fn libc "rmdir" [CCharP] CCharP))
(def rm (ffi-fn libc "remove" [CCharP] CCharP))

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

0 comments on commit 72a76a4

Please sign in to comment.