- Timestamp:
- Jun 7, 2019, 10:13:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/internal/syscall.h
r364 r400 44 44 #endif 45 45 #define __syscall7(n,a,b,c,d,e,f,g) (__syscall)(n,__scc(a),__scc(b),__scc(c),__scc(d),__scc(e),__scc(f),__scc(g)) 46 #endif 46 47 47 #define __SYSCALL_NARGS_X(a,b,c,d,e,f,g,h,n,...) n 48 48 #define __SYSCALL_NARGS(...) __SYSCALL_NARGS_X(__VA_ARGS__,7,6,5,4,3,2,1,0,) … … 50 50 #define __SYSCALL_CONCAT(a,b) __SYSCALL_CONCAT_X(a,b) 51 51 #define __SYSCALL_DISP(b,...) __SYSCALL_CONCAT(b,__SYSCALL_NARGS(__VA_ARGS__))(__VA_ARGS__) 52 52 #endif 53 53 #define __syscall(...) __SYSCALL_DISP(__syscall,__VA_ARGS__) 54 #define syscall(...) __syscall_ret(__syscall(__VA_ARGS__))54 //#define syscall(...) __syscall_ret(__syscall(__VA_ARGS__)) 55 55 56 56 #define socketcall __socketcall … … 66 66 #endif 67 67 #define __syscall_cp(...) __SYSCALL_DISP(__syscall_cp,__VA_ARGS__) 68 #define syscall_cp(...) __syscall_ret(__syscall_cp(__VA_ARGS__))68 //#define syscall_cp(...) __syscall_ret(__syscall_cp(__VA_ARGS__)) 69 69 70 70 #ifndef SYSCALL_USE_SOCKETCALL
Note:
See TracChangeset
for help on using the changeset viewer.