source:
trunk/minix/lib/posix/_close.c@
10
| Last change on this file since 10 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 157 bytes | |
| Line | |
|---|---|
| 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.