Diff of /trunk/mkinitrd-magellan/klibc/usr/klibc/tests/fcntl.c
Parent Directory | Revision Log | Patch
revision 1296 by niro, Sat Sep 1 22:45:15 2007 UTC | revision 1297 by niro, Fri May 27 15:12:11 2011 UTC | |
---|---|---|
# | Line 5 | Line 5 |
5 | #include <stdio.h> | #include <stdio.h> |
6 | #include <unistd.h> | #include <unistd.h> |
7 | #include <fcntl.h> | #include <fcntl.h> |
#include <errno.h> | ||
8 | #include <stdlib.h> | #include <stdlib.h> |
9 | #include <string.h> | #include <string.h> |
10 | ||
# | Line 46 int main(int argc, char *argv[]) | Line 45 int main(int argc, char *argv[]) |
45 | ||
46 | /* Eventually, fork and try to conflict with this lock... */ | /* Eventually, fork and try to conflict with this lock... */ |
47 | ||
48 | close(fd); | |
49 | return 0; | return 0; |
50 | } | } |
|