1
0
mirror of https://github.com/golang/go synced 2024-10-04 16:31:22 -06:00
go/src/pkg/syscall/zsysnum_nacl_386.go
Robert Griesemer d65a5cce89 1) Change default gofmt default settings for
parsing and printing to new syntax.

   Use -oldparser to parse the old syntax,
   use -oldprinter to print the old syntax.

2) Change default gofmt formatting settings
   to use tabs for indentation only and to use
   spaces for alignment. This will make the code
   alignment insensitive to an editor's tabwidth.

   Use -spaces=false to use tabs for alignment.

3) Manually changed src/exp/parser/parser_test.go
   so that it doesn't try to parse the parser's
   source files using the old syntax (they have
   new syntax now).

4) gofmt -w src misc test/bench

4th set of files.

R=rsc
CC=golang-dev
https://golang.org/cl/180049
2009-12-15 15:40:16 -08:00

62 lines
1.8 KiB
Go

// mksysnum_nacl.sh /home/rsc/pub/nacl/native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h
// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
package syscall
const (
SYS_NULL = 1
SYS_OPEN = 10
SYS_CLOSE = 11
SYS_READ = 12
SYS_WRITE = 13
SYS_LSEEK = 14
SYS_IOCTL = 15
SYS_STAT = 16
SYS_FSTAT = 17
SYS_CHMOD = 18
SYS_SYSBRK = 20
SYS_MMAP = 21
SYS_MUNMAP = 22
SYS_GETDENTS = 23
SYS_EXIT = 30
SYS_GETPID = 31
SYS_SCHED_YIELD = 32
SYS_SYSCONF = 33
SYS_GETTIMEOFDAY = 40
SYS_CLOCK = 41
SYS_MULTIMEDIA_INIT = 50
SYS_MULTIMEDIA_SHUTDOWN = 51
SYS_VIDEO_INIT = 52
SYS_VIDEO_SHUTDOWN = 53
SYS_VIDEO_UPDATE = 54
SYS_VIDEO_POLL_EVENT = 55
SYS_AUDIO_INIT = 56
SYS_AUDIO_SHUTDOWN = 57
SYS_AUDIO_STREAM = 58
SYS_IMC_MAKEBOUNDSOCK = 60
SYS_IMC_ACCEPT = 61
SYS_IMC_CONNECT = 62
SYS_IMC_SENDMSG = 63
SYS_IMC_RECVMSG = 64
SYS_IMC_MEM_OBJ_CREATE = 65
SYS_IMC_SOCKETPAIR = 66
SYS_MUTEX_CREATE = 70
SYS_MUTEX_LOCK = 71
SYS_MUTEX_TRYLOCK = 72
SYS_MUTEX_UNLOCK = 73
SYS_COND_CREATE = 74
SYS_COND_WAIT = 75
SYS_COND_SIGNAL = 76
SYS_COND_BROADCAST = 77
SYS_COND_TIMED_WAIT_ABS = 79
SYS_THREAD_CREATE = 80
SYS_THREAD_EXIT = 81
SYS_TLS_INIT = 82
SYS_THREAD_NICE = 83
SYS_SRPC_GET_FD = 90
SYS_SEM_CREATE = 100
SYS_SEM_WAIT = 101
SYS_SEM_POST = 102
SYS_SEM_GET_VALUE = 103
)