projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2529bce166fd429b666de73a24b714ee01091fab
[pintos-anon]
/
grading
/
userprog
/
open-empty.c
1
#include <stdio.h>
2
#include <syscall.h>
3
4
int
5
main (void)
6
{
7
int handle;
8
printf ("(open-empty) begin\n");
9
handle = open ("");
10
if (handle != -1)
11
printf ("(open-empty) fail: open() returned %d\n", handle);
12
printf ("(open-empty) end\n");
13
return 0;
14
}