PKUOS - Pintos
Pintos source browser for PKU Operating System course
Functions
create-long.c File Reference
#include <string.h>
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"
Include dependency graph for create-long.c:

Go to the source code of this file.

Functions

void test_main (void)
 Tries to create a file with a name that is much too long, which must fail. More...
 

Function Documentation

◆ test_main()

void test_main ( void  )

Tries to create a file with a name that is much too long, which must fail.

tests/main.h

Definition at line 10 of file create-long.c.

References create(), memset(), msg(), and name.

Here is the call graph for this function: