2023-05-26 22:21:07 +03:00
|
|
|
#ifndef _SYS_SYSCALL_H
|
|
|
|
#define _SYS_SYSCALL_H 1
|
2023-04-12 17:53:02 +03:00
|
|
|
|
2023-05-26 22:21:07 +03:00
|
|
|
#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
|
2023-06-02 17:56:13 +03:00
|
|
|
#define SYS_REALLOC 16
|
2023-06-04 17:59:13 +03:00
|
|
|
#define SYS_WAIT 17
|
2023-06-05 14:36:17 +03:00
|
|
|
#define SYS_STAT 18
|
2023-06-05 22:43:26 +03:00
|
|
|
#define SYS_SETENVP 19
|
2023-06-11 00:18:08 +03:00
|
|
|
#define SYS_READ_DIR_ENTRIES 20
|
2023-05-26 22:21:07 +03:00
|
|
|
|
|
|
|
__END_DECLS
|
|
|
|
|
|
|
|
#endif
|