UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
user.h File Reference

Go to the source code of this file.

Functions

int fork (void)
 
int exit (void) __attribute__((noreturn))
 
int wait (void)
 
int pipe (int *)
 
int write (int, void *, int)
 
int read (int, void *, int)
 
int close (int)
 
int kill (int)
 
int exec (char *, char **)
 
int open (char *, int)
 
int mknod (char *, short, short)
 
int unlink (char *)
 
int fstat (int fd, struct stat *)
 
int link (char *, char *)
 
int mkdir (char *)
 
int chdir (char *)
 
int dup (int)
 
int getpid (void)
 
char * sbrk (int)
 
int sleep (int)
 
int uptime (void)
 
int stat (char *, struct stat *)
 
char * strcpy (char *, char *)
 
void * memmove (void *, void *, int)
 
char * strchr (const char *, char c)
 
int strcmp (const char *, const char *)
 
void printf (int, char *,...)
 
char * gets (char *, int max)
 
uint strlen (char *)
 
void * memset (void *, int, uint)
 
void * malloc (uint)
 
void free (void *)
 
int atoi (const char *)
 

Function Documentation

int atoi ( const char *  )

Definition at line 85 of file ulib.c.

int chdir ( char *  )
int close ( int  )
int dup ( int  )
int exec ( char *  ,
char **   
)

Definition at line 11 of file exec.c.

int exit ( void  )

Definition at line 173 of file proc.c.

int fork ( void  )

Definition at line 129 of file proc.c.

void free ( void *  )

Definition at line 25 of file umalloc.c.

int fstat ( int  fd,
struct stat  
)
int getpid ( void  )
char* gets ( char *  ,
int  max 
)

Definition at line 53 of file ulib.c.

int kill ( int  )

Definition at line 412 of file proc.c.

int link ( char *  ,
char *   
)
void* malloc ( uint  )

Definition at line 64 of file umalloc.c.

void* memmove ( void *  ,
void *  ,
int   
)

Definition at line 96 of file ulib.c.

void* memset ( void *  ,
int  ,
uint   
)

Definition at line 5 of file string.c.

int mkdir ( char *  )
int mknod ( char *  ,
short  ,
short   
)
int open ( char *  ,
int   
)
int pipe ( int *  )
void printf ( int  ,
char *  ,
  ... 
)

Definition at line 11 of file forktest.c.

int read ( int  ,
void *  ,
int   
)
char* sbrk ( int  )
int sleep ( int  )
int stat ( char *  ,
struct stat  
)

Definition at line 71 of file ulib.c.

char* strchr ( const char *  ,
char  c 
)

Definition at line 44 of file ulib.c.

int strcmp ( const char *  ,
const char *   
)

Definition at line 19 of file ulib.c.

char* strcpy ( char *  ,
char *   
)

Definition at line 8 of file ulib.c.

uint strlen ( char *  )

Definition at line 27 of file ulib.c.

int unlink ( char *  )
int uptime ( void  )
int wait ( void  )

Definition at line 217 of file proc.c.

int write ( int  ,
void *  ,
int   
)