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