/* See how function and system calls happens. */ #include #include int main() { int x; x = close(999); if (x < 0) { return errno; } else { return x; } }