source:
trunk/minix/lib/posix/_close.c@
16
Last change on this file since 16 was 9, checked in by , 14 years ago | |
---|---|
File size: 157 bytes |
Rev | Line | |
---|---|---|
[9] | 1 | #include <lib.h> |
2 | #define close _close | |
3 | #include <unistd.h> | |
4 | ||
5 | PUBLIC int close(fd) | |
6 | int fd; | |
7 | { | |
8 | message m; | |
9 | ||
10 | m.m1_i1 = fd; | |
11 | return(_syscall(FS, CLOSE, &m)); | |
12 | } |
Note:
See TracBrowser
for help on using the repository browser.