aboutsummaryrefslogtreecommitdiff
path: root/src/interp/sys-os.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-10-22 03:37:05 +0000
committerdos-reis <gdr@axiomatics.org>2008-10-22 03:37:05 +0000
commita702ea88c792e54d6a44b89efb09c265f542704a (patch)
treef6edbf777f1ab7b182d57a9a637149314b886828 /src/interp/sys-os.boot
parent2762de6da5f955eb7b15aaeb027e87afb981db09 (diff)
downloadopen-axiom-a702ea88c792e54d6a44b89efb09c265f542704a.tar.gz
* boot/ast.boot: Expand on native call translation.
* interp/sys-os.boot (oa_filedesc_read): Adjust declaration. (oa_filedesc_write): Likewise.
Diffstat (limited to 'src/interp/sys-os.boot')
-rw-r--r--src/interp/sys-os.boot6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interp/sys-os.boot b/src/interp/sys-os.boot
index 3ab992a8..8478299e 100644
--- a/src/interp/sys-os.boot
+++ b/src/interp/sys-os.boot
@@ -79,11 +79,13 @@ import writeablep: string -> int for writeablep
-- 1: exists and write access granted
-- 2: inexistent but write access to parent directory granted.
-import oa__filedesc__read: (int,buffer,int) -> int for readFromFileHandle
+import oa__filedesc__read: (int,writeonly buffer byte,int) -> int
+ for readFromFileHandle
-- -1: failure; otherwise
-- actual read bytes count
-import oa__filedesc__write: (int,buffer,int) -> int for writeToFileHandle
+import oa__filedesc__write: (int,readonly buffer byte,int) -> int
+ for writeToFileHandle
-- -1: failure; otherwise
-- actual written bytes count