projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Mention that process_wait() can be changed to an infinite loop
[pintos-anon]
/
src
/
examples
/
rm.c
1
/* rm.c
2
3
Removes files specified on command line. */
4
5
#include <stdio.h>
6
#include <syscall.h>
7
8
int
9
main (int argc, char *argv[])
10
{
11
int i;
12
13
for (i = 1; i < argc; i++)
14
if (!remove (argv[i]))
15
printf ("%s: remove failed\n", argv[i]);
16
return 0;
17
}