nckernel  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
syscall.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  SYS_NR_IDX {
  SYS_NR_OPEN, SYS_NR_CLOSE, SYS_NR_READ, SYS_NR_WRITE,
  SYS_NR_SEEK, SYS_NR_OPENDIR, SYS_NR_CLOSEDIR, SYS_NR_READDIR,
  SYS_NR_YIELD
}
 

Functions

int syscall (int fn,...)
 

Enumeration Type Documentation

enum SYS_NR_IDX
Enumerator
SYS_NR_OPEN 
SYS_NR_CLOSE 
SYS_NR_READ 
SYS_NR_WRITE 
SYS_NR_SEEK 
SYS_NR_OPENDIR 
SYS_NR_CLOSEDIR 
SYS_NR_READDIR 
SYS_NR_YIELD 

Definition at line 1 of file syscall.h.

Function Documentation

int syscall ( int  fn,
  ... 
)

Definition at line 85 of file syscall.c.

References ENOSYS, SYS_NR_CLOSE, SYS_NR_CLOSEDIR, SYS_NR_OPEN, SYS_NR_OPENDIR, SYS_NR_READ, SYS_NR_READDIR, SYS_NR_SEEK, SYS_NR_WRITE, SYS_NR_YIELD, va_arg, va_end, and va_start.

Referenced by pthread_yield().

Here is the caller graph for this function: