schedule the highest priority thread,overP1
[monosproject.git] / src / examples / rm.c
blob0db7f7b2aedfa8e98a221d3c685f67ca393a18fc
1 /* rm.c
3 Removes files specified on command line. */
5 #include <stdio.h>
6 #include <syscall.h>
8 int
9 main (int argc, char *argv[])
11 bool success = true;
12 int i;
14 for (i = 1; i < argc; i++)
15 if (!remove (argv[i]))
17 printf ("%s: remove failed\n", argv[i]);
18 success = false;
20 return success ? EXIT_SUCCESS : EXIT_FAILURE;