xv6/init.c File Reference

#include "types.h"
#include "stat.h"
#include "user.h"
#include "fcntl.h"

Go to the source code of this file.

Functions

int main (void)

Variables

char * argv [] = { "sh", 0 }


Function Documentation

int main ( void   ) 

Definition at line 11 of file init.c.

References argv, dup(), exec(), exit(), fork(), mknod(), O_RDWR, open(), printf(), and wait().


Variable Documentation

char* argv[] = { "sh", 0 }

Definition at line 8 of file init.c.

Referenced by main(), and sys_exec().


Generated on Fri Jan 7 12:25:49 2011 for xv6 by  doxygen 1.5.6