pintos/src/tests/userprog/child-rox.c File Reference

#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <syscall.h>
#include "tests/lib.h"

Go to the source code of this file.

Functions

static void try_write (void)
int main (int argc UNUSED, char *argv[])

Variables

const char * test_name = "child-rox"


Function Documentation

int main ( int argc  UNUSED,
char *  argv[] 
)

Definition at line 32 of file child-rox.c.

References atoi(), CHECK, exec(), fail(), isdigit(), msg(), quiet, snprintf(), try_write(), and wait().

static void try_write ( void   )  [static]

Definition at line 16 of file child-rox.c.

References buffer, CHECK, close(), open(), quiet, and write().

Referenced by main().


Variable Documentation

const char* test_name = "child-rox"

Definition at line 13 of file child-rox.c.


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6