equal
deleted
inserted
replaced
1 // go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/syscall.h |
1 // go run mksysnum.go /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/syscall.h |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
3 |
3 |
|
4 //go:build amd64 && darwin |
4 // +build amd64,darwin |
5 // +build amd64,darwin |
5 |
6 |
6 package unix |
7 package unix |
7 |
8 |
|
9 // Deprecated: Use libSystem wrappers instead of direct syscalls. |
8 const ( |
10 const ( |
9 SYS_SYSCALL = 0 |
11 SYS_SYSCALL = 0 |
10 SYS_EXIT = 1 |
12 SYS_EXIT = 1 |
11 SYS_FORK = 2 |
13 SYS_FORK = 2 |
12 SYS_READ = 3 |
14 SYS_READ = 3 |