Adding usermode tree
[tpg/acess2.git] / Usermode / Libraries / libacess.so_src / vfs.asm
1 ;
2 ; Acess2 System Interface
3 ;
4 %include "syscalls.inc.asm"
5
6 [BITS 32]
7 [extern _errno]
8
9 [section .text]
10 SYSCALL2        open, SYS_OPEN
11 SYSCALL3        reopen, SYS_REOPEN
12 SYSCALL1        close, SYS_CLOSE
13 SYSCALL3        read, SYS_READ
14 SYSCALL4        write, SYS_WRITE        ; int, int64_t, void*
15 SYSCALL4        seek, SYS_SEEK          ; int, int64_t, int
16 SYSCALL2        finfo, SYS_FINFO

UCC git Repository :: git.ucc.asn.au