-
Notifications
You must be signed in to change notification settings - Fork 5
/
calls.defs
23 lines (19 loc) · 923 Bytes
/
calls.defs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DEFINE3(int, open, const char *, int, int)
DEFINE2(FILE*, fopen, const char *, const char *)
DEFINE4(size_t, fwrite, const void *, size_t, size_t, FILE*)
DEFINE4(size_t, fread, void *, size_t, size_t, FILE*)
DEFINE1(long, ftell, FILE*)
DEFINE1(off_t, ftello, FILE*)
DEFINE1(int, close, int)
DEFINE3(ssize_t, read, int, void*, size_t)
DEFINE3(ssize_t, write, int, const void*, size_t)
DEFINE3(off_t, lseek, int, off_t, int)
DEFINE4(ssize_t, recv, int, void*, size_t, int)
DEFINE3(ssize_t, recvmsg, int, struct msghdr *, int)
DEFINE4(ssize_t, send, int, const void*, size_t, int)
DEFINE3(ssize_t, sendmsg, int, const struct msghdr *, int)
DEFINE5(int, select, int, fd_set*, fd_set*, fd_set*, struct timeval*)
DEFINE3(int, bind, int, const struct sockaddr *, socklen_t)
DEFINE2(int, listen, int, int)
DEFINE3(int, accept, int, struct sockaddr *, socklen_t *)
DEFINE3(int, connect, int, const struct sockaddr *, socklen_t)