1 /* See how function and system calls happens. */
2 #include <unistd.h>
3 #include <errno.h>
4
5 int
6 main()
7 {
8 int x;
9 x = close(999);
10 if (x < 0) {
11 return errno;
12 } else {
13 return x;
14 }
15 }