projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add problem 1-1 solution.
[pintos-anon]
/
grading
/
userprog
/
write-stdin.c
1
#include <stdio.h>
2
#include <syscall.h>
3
4
int
5
main (void)
6
{
7
char buf = 123;
8
printf ("(write-stdin) begin\n");
9
write (0, &buf, 1);
10
printf ("(write-stdin) end\n");
11
return 0;
12
}