PKUOS - Pintos
Pintos source browser for PKU Operating System course
Enumerations
syscall-nr.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_HALT , SYS_EXIT , SYS_EXEC , SYS_WAIT ,
  SYS_CREATE , SYS_REMOVE , SYS_OPEN , SYS_FILESIZE ,
  SYS_READ , SYS_WRITE , SYS_SEEK , SYS_TELL ,
  SYS_CLOSE , SYS_MMAP , SYS_MUNMAP , SYS_CHDIR ,
  SYS_MKDIR , SYS_READDIR , SYS_ISDIR , SYS_INUMBER
}
 System call numbers. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

System call numbers.

Enumerator
SYS_HALT 

Halt the operating system.

SYS_EXIT 

Terminate this process.

SYS_EXEC 

Start another process.

SYS_WAIT 

Wait for a child process to die.

SYS_CREATE 

Create a file.

SYS_REMOVE 

Delete a file.

SYS_OPEN 

Open a file.

SYS_FILESIZE 

Obtain a file's size.

SYS_READ 

Read from a file.

SYS_WRITE 

Write to a file.

SYS_SEEK 

Change position in a file.

SYS_TELL 

Report current position in a file.

SYS_CLOSE 

Close a file.

SYS_MMAP 

Map a file into memory.

SYS_MUNMAP 

Remove a memory mapping.

SYS_CHDIR 

Change the current directory.

SYS_MKDIR 

Create a directory.

SYS_READDIR 

Reads a directory entry.

SYS_ISDIR 

Tests if a fd represents a directory.

SYS_INUMBER 

Returns the inode number for a fd.

Definition at line 5 of file syscall-nr.h.