root/include/linux/sys.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _LINUX_SYS_H
   2 #define _LINUX_SYS_H
   3 /*
   4  * system call entry points
   5  */
   6 
   7 #define sys_clone sys_fork
   8 
   9 #ifdef __cplusplus
  10 extern "C" {
  11 #endif
  12 
  13 extern int sys_setup();         /* 0 */
  14 extern int sys_exit();
  15 extern int sys_fork();
  16 extern int sys_read();
  17 extern int sys_write();
  18 extern int sys_open();          /* 5 */
  19 extern int sys_close();
  20 extern int sys_waitpid();
  21 extern int sys_creat();
  22 extern int sys_link();
  23 extern int sys_unlink();        /* 10 */
  24 extern int sys_execve();
  25 extern int sys_chdir();
  26 extern int sys_time();
  27 extern int sys_mknod();
  28 extern int sys_chmod();         /* 15 */
  29 extern int sys_chown();
  30 extern int sys_break();
  31 extern int sys_stat();
  32 extern int sys_lseek();
  33 extern int sys_getpid();        /* 20 */
  34 extern int sys_mount();
  35 extern int sys_umount();
  36 extern int sys_setuid();
  37 extern int sys_getuid();
  38 extern int sys_stime();         /* 25 */
  39 extern int sys_ptrace();
  40 extern int sys_alarm();
  41 extern int sys_fstat();
  42 extern int sys_pause();
  43 extern int sys_utime();         /* 30 */
  44 extern int sys_stty();
  45 extern int sys_gtty();
  46 extern int sys_access();
  47 extern int sys_nice();
  48 extern int sys_ftime();         /* 35 */
  49 extern int sys_sync();
  50 extern int sys_kill();
  51 extern int sys_rename();
  52 extern int sys_mkdir();
  53 extern int sys_rmdir();         /* 40 */
  54 extern int sys_dup();
  55 extern int sys_pipe();
  56 extern int sys_times();
  57 extern int sys_prof();
  58 extern int sys_brk();           /* 45 */
  59 extern int sys_setgid();
  60 extern int sys_getgid();
  61 extern int sys_signal();
  62 extern int sys_geteuid();
  63 extern int sys_getegid();       /* 50 */
  64 extern int sys_acct();
  65 extern int sys_phys();
  66 extern int sys_lock();
  67 extern int sys_ioctl();
  68 extern int sys_fcntl();         /* 55 */
  69 extern int sys_mpx();
  70 extern int sys_setpgid();
  71 extern int sys_ulimit();
  72 extern int sys_uname();
  73 extern int sys_umask();         /* 60 */
  74 extern int sys_chroot();
  75 extern int sys_ustat();
  76 extern int sys_dup2();
  77 extern int sys_getppid();
  78 extern int sys_getpgrp();       /* 65 */
  79 extern int sys_setsid();
  80 extern int sys_sigaction();
  81 extern int sys_sgetmask();
  82 extern int sys_ssetmask();
  83 extern int sys_setreuid();      /* 70 */
  84 extern int sys_setregid();
  85 extern int sys_sigpending();
  86 extern int sys_sigsuspend();
  87 extern int sys_sethostname();
  88 extern int sys_setrlimit();     /* 75 */
  89 extern int sys_getrlimit();
  90 extern int sys_getrusage();
  91 extern int sys_gettimeofday();
  92 extern int sys_settimeofday();
  93 extern int sys_getgroups();     /* 80 */
  94 extern int sys_setgroups();
  95 extern int sys_select();
  96 extern int sys_symlink();
  97 extern int sys_lstat();
  98 extern int sys_readlink();      /* 85 */
  99 extern int sys_uselib();
 100 extern int sys_swapon();
 101 extern int sys_reboot();
 102 extern int sys_readdir();
 103 extern int sys_mmap();          /* 90 */
 104 extern int sys_munmap();
 105 extern int sys_truncate();
 106 extern int sys_ftruncate();
 107 extern int sys_fchmod();
 108 extern int sys_fchown();        /* 95 */
 109 extern int sys_getpriority();
 110 extern int sys_setpriority();
 111 extern int sys_profil();
 112 extern int sys_statfs();
 113 extern int sys_fstatfs();       /* 100 */
 114 extern int sys_ioperm();
 115 extern int sys_socketcall();
 116 extern int sys_syslog();
 117 extern int sys_getitimer();
 118 extern int sys_setitimer();     /* 105 */
 119 extern int sys_newstat();
 120 extern int sys_newlstat();
 121 extern int sys_newfstat();
 122 extern int sys_newuname();
 123 extern int sys_iopl();          /* 110 */
 124 extern int sys_vhangup();
 125 extern int sys_idle();
 126 extern int sys_vm86();
 127 extern int sys_wait4();
 128 extern int sys_swapoff();       /* 115 */
 129 extern int sys_sysinfo();
 130 extern int sys_ipc();
 131 extern int sys_fsync();
 132 extern int sys_sigreturn();
 133 extern int sys_setdomainname(); /* 120 */
 134 extern int sys_olduname();
 135 extern int sys_old_syscall();
 136 extern int sys_modify_ldt();
 137 extern int sys_adjtimex();
 138 extern int sys_mprotect();      /* 125 */
 139 extern int sys_sigprocmask();
 140 extern int sys_create_module();
 141 extern int sys_init_module();
 142 extern int sys_delete_module();
 143 extern int sys_get_kernel_syms(); /* 130 */
 144 extern int sys_quotactl();
 145 extern int sys_getpgid();
 146 extern int sys_fchdir();
 147 
 148 /*
 149  * These are system calls that will be removed at some time
 150  * due to newer versions existing..
 151  */
 152 #ifdef notdef
 153 #define sys_waitpid     sys_old_syscall /* sys_wait4    */
 154 #define sys_olduname    sys_old_syscall /* sys_newuname */
 155 #define sys_uname       sys_old_syscall /* sys_newuname */
 156 #define sys_stat        sys_old_syscall /* sys_newstat  */
 157 #define sys_fstat       sys_old_syscall /* sys_newfstat */
 158 #define sys_lstat       sys_old_syscall /* sys_newlstat */
 159 #define sys_signal      sys_old_syscall /* sys_sigaction */
 160 #define sys_sgetmask    sys_old_syscall /* sys_sigprocmask */
 161 #define sys_ssetmask    sys_old_syscall /* sig_sigprocmask */
 162 #endif
 163 
 164 /*
 165  * These are system calls that haven't been implemented yet
 166  * but have an entry in the table for future expansion..
 167  */
 168 
 169 #define sys_quotactl    sys_ni_syscall
 170 
 171 typedef int (*fn_ptr)();
 172 
 173 #ifdef __cplusplus
 174 }
 175 #endif
 176 
 177 #endif

/* [previous][next][first][last][top][bottom][index][help] */