diff options
Diffstat (limited to 'lib/sys/close.h')
| -rw-r--r-- | lib/sys/close.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/sys/close.h b/lib/sys/close.h new file mode 100644 index 0000000..2aa3a71 --- /dev/null +++ b/lib/sys/close.h @@ -0,0 +1,11 @@ +#ifndef CLOSE_H +#define CLOSE_H + +#include "syscalls.h" + +int close(unsigned int fd) +{ + syscall(CLOSE, fd); +} + +#endif |