projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Start of userprog tests.
[pintos-anon]
/
grading
/
userprog
/
create-long.c
1
#include <stdio.h>
2
#include <string.h>
3
#include <syscall.h>
4
5
int
6
main (void)
7
{
8
static char name[256];
9
memset (name, 'x', sizeof name);
10
name[sizeof name - 1] = '\0';
11
12
printf ("create(\"%s\"):\n", name);
13
printf ("%d\n", create (name, 0));
14
printf ("survived\n");
15
16
return 0;
17
}