1 The syscall numbers are defined in
2 [src/trusted/service\_runtime/include/bits/nacl\_syscalls.h]
3 (http://code.google.com/p/nativeclient/source/browse/trunk/src/native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h).
5 File descriptor operations: * close * read * write * lseek
7 Memory allocation: * sysbrk * mmap * munmap
19 Timers: * gettimeofday * clock * nanosleep
21 [IMC socket](imc_sockets.md) calls: * imc\_makeboundsock * imc\_accept *
22 imc\_connect * imc\_sendmsg * imc\_recvmsg * imc\_mem\_obj\_create: create
23 shared memory segment * imc\_socketpair
25 Synchronisation operations: * mutex\_create * mutex\_lock * mutex\_trylock *
26 mutex\_unlock * cond\_create * cond\_wait * cond\_signal * cond\_broadcast *
27 cond\_timed\_wait\_abs * sem\_create * sem\_wait * sem\_post * sem\_get\_value
29 Threading operations: * thread\_create * thread\_exit * tls\_init * thread\_nice
32 * srpc\_get\_fd: what is this for?
36 * null: for testing purposes only
37 * ioctl: not implemented
39 ## Debug mode syscalls
45 Sound/graphics interfaces for standalone mode; superseded by NPAPI plugin
46 interfaces: * multimedia\_init * multimedia\_shutdown * video\_init *
47 video\_shutdown * video\_update * video\_poll\_event * audio\_init *
48 audio\_shutdown * audio\_stream