ae0f33af1b2aaa4e13c0645f0440050a8d5a181d
[kopensolaris-gnu/glibc.git] / sysdeps / unix / sysv / linux / mips / syscalls.list
1 # File name     Caller  Syscall name    Args    Strong name     Weak names
2
3 #
4 # Calls for compatibility with existing MIPS OS implementations and
5 # compilers.
6 #
7 cachectl        -       cachectl        i:pii   __cachectl      cachectl
8 cacheflush      -       cacheflush      i:pii   _flush_cache    cacheflush
9 sysmips         -       sysmips         i:iiii  __sysmips       sysmips
10
11 # override select.S in parent directory:
12 select          -       select          i:iPPPP __select        select
13 sigsuspend      -       sigsuspend      i:p     __sigsuspend    sigsuspend
14
15 #
16 # Socket functions; Linux/MIPS doesn't use the socketcall(2) wrapper;
17 # it's provided for compatibility, though.
18 #
19 accept          -       accept          i:iBN   __libc_accept   __accept accept
20 bind            -       bind            i:ipi   __bind          bind
21 connect         -       connect         i:ipi   __libc_connect  __connect connect
22 getpeername     -       getpeername     i:ipp   __getpeername   getpeername
23 getsockname     -       getsockname     i:ipp   __getsockname   getsockname
24 getsockopt      -       getsockopt      i:iiiBN __getsockopt    getsockopt
25 listen          -       listen          i:ii    __listen        listen
26 recv            -       recv            i:ibni  __libc_recv     __recv recv
27 recvfrom        -       recvfrom        i:ibniBN __libc_recvfrom __recvfrom recvfrom
28 recvmsg         -       recvmsg         i:ipi   __libc_recvmsg  __recvmsg recvmsg
29 send            -       send            i:ibni  __libc_send     __send send
30 sendmsg         -       sendmsg         i:ipi   __libc_sendmsg  __sendmsg sendmsg
31 sendto          -       sendto          i:ibnibn __libc_sendto  __sendto sendto
32 setsockopt      -       setsockopt      i:iiibn __setsockopt    setsockopt
33 shutdown        -       shutdown        i:ii    __shutdown      shutdown
34 socket          -       socket          i:iii   __socket        socket
35 socketpair      -       socketpair      i:iiif  __socketpair    socketpair
36
37 #
38 # These are defined locally because the caller is also defined in this dir.
39 #
40 s_llseek        llseek  _llseek         i:iiipi __syscall__llseek
41 s_sigaction     sigaction sigaction     i:ipp   __syscall_sigaction
42 s_ustat         ustat   ustat           i:ip    __syscall_ustat
43 sys_mknod       xmknod  mknod           i:sii   __syscall_mknod
44
45 # System calls with wrappers.
46 rt_sigaction    -       rt_sigaction    i:ippi  __syscall_rt_sigaction
47 rt_sigpending   -       rt_sigpending   i:pi    __syscall_rt_sigpending
48 rt_sigprocmask  -       rt_sigprocmask  i:ippi  __syscall_rt_sigprocmask
49 rt_sigqueueinfo -       rt_sigqueueinfo i:iip   __syscall_rt_sigqueueinfo
50 rt_sigsuspend   -       rt_sigsuspend   i:pi    __syscall_rt_sigsuspend
51 rt_sigtimedwait -       rt_sigtimedwait i:pppi  __syscall_rt_sigtimedwait
52 s_execve        execve  execve          i:spp   __syscall_execve
53 s_fcntl         fcntl   fcntl           i:iiF   __syscall_fcntl
54 s_fcntl64       fcntl64 fcntl64         i:iiF   __syscall_fcntl64
55 s_fstat64       fxstat64 fstat64        i:ip    __syscall_fstat64
56 s_ftruncate64   ftruncate64 ftruncate64 i:iiii  __syscall_ftruncate64
57 s_getcwd        getcwd  getcwd          i:pi    __syscall_getcwd
58 s_getdents      getdents getdents       i:ipi   __syscall_getdents
59 s_getdents64    getdents getdents64     i:ipi   __syscall_getdents64
60 s_getpmsg       getpmsg getpmsg         i:ipppp __syscall_getpmsg
61 s_getpriority   getpriority getpriority i:ii    __syscall_getpriority
62 getresgid       -       getresgid       i:ppp   getresgid
63 getresuid       -       getresuid       i:ppp   getresuid
64 s_ipc           msgget  ipc             i:iiiip __syscall_ipc
65 s_lstat64       lxstat64 lstat64        i:sp    __syscall_lstat64
66 s_poll          poll    poll            i:pii   __syscall_poll
67 s_pread64       pread64 pread           i:ibniii __syscall_pread
68 s_putpmsg       putpmsg putpmsg         i:ippii __syscall_putpmsg
69 s_ptrace        ptrace  ptrace          i:iipp  __syscall_ptrace
70 s_pwrite64      pwrite64 pwrite         i:ibniii __syscall_pwrite
71 s_reboot        reboot  reboot          i:iii   __syscall_reboot
72 s_setrlimit     setrlimit setrlimit     i:ip    __syscall_setrlimit
73 s_sigpending    sigpending sigpending   i:p     __syscall_sigpending
74 s_sigprocmask   sigprocmask sigprocmask i:ipp   __syscall_sigprocmask
75 s_stat64        xstat64  stat64         i:sp    __syscall_stat64
76 s_truncate64    truncate64 truncate64   i:siii  __syscall_truncate64
77
78 # Todo: we can pass 6 args in registers, no need for the wrapper
79 sys_sysctl      sysctl  _sysctl         i:p     __syscall__sysctl
80 sys_fstat       fxstat  fstat           i:ip    __syscall_fstat
81 sys_lstat       lxstat  lstat           i:sp    __syscall_lstat
82 sys_readv       readv   readv           i:ipi   __syscall_readv
83 sys_stat        xstat   stat            i:sp    __syscall_stat
84 sys_writev      writev  writev          i:ipi   __syscall_writev