projects
/
pintos-anon
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2f1ce730b735a48eafa440429ddb796fbe17aca8
[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
}