banan-os/libc/include/sys/syscall.h

28 lines
443 B
C
Raw Normal View History

#ifndef _SYS_SYSCALL_H
#define _SYS_SYSCALL_H 1
#include <sys/cdefs.h>
__BEGIN_DECLS
#define SYS_EXIT 1
#define SYS_READ 2
#define SYS_WRITE 3
#define SYS_TERMID 4
#define SYS_CLOSE 5
#define SYS_OPEN 6
#define SYS_ALLOC 7
#define SYS_FREE 8
#define SYS_SEEK 9
#define SYS_TELL 10
#define SYS_GET_TERMIOS 11
#define SYS_SET_TERMIOS 12
2023-05-28 18:08:26 +03:00
#define SYS_FORK 13
2023-05-28 22:34:48 +03:00
#define SYS_SLEEP 14
2023-05-31 20:57:33 +03:00
#define SYS_EXEC 15
#define SYS_REALLOC 16
__END_DECLS
#endif