projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clarify that adding code where interrupts are already disabled may be
[pintos-anon]
/
src
/
tests
/
userprog
/
create-long.c
1
#include <string.h>
2
#include <syscall.h>
3
#include "tests/lib.h"
4
#include "tests/main.h"
5
6
void
7
test_main (void)
8
{
9
static char name[512];
10
memset (name, 'x', sizeof name);
11
name[sizeof name - 1] = '\0';
12
13
msg ("create(\"x...\"): %d", create (name, 0));
14
}