Enable dev build with the latest repo
[platform/framework/web/chromium-efl.git] / native_client / docs / system_calls.md
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).
4
5 File descriptor operations: * close * read * write * lseek
6
7 Memory allocation: * sysbrk * mmap * munmap
8
9 *   getdents
10
11 *   exit
12
13 *   getpid
14
15 *   sched\_yield
16
17 *   sysconf
18
19 Timers: * gettimeofday * clock * nanosleep
20
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
24
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
28
29 Threading operations: * thread\_create * thread\_exit * tls\_init * thread\_nice
30 * tls\_get
31
32 *   srpc\_get\_fd: what is this for?
33
34 ## No-ops
35
36 *   null: for testing purposes only
37 *   ioctl: not implemented
38
39 ## Debug mode syscalls
40
41 *   open
42 *   stat
43 *   chmod
44
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
49
50 ## Omissions
51
52 *   dup
53 *   dup2