source:
trunk/minix/lib/posix/_fstat.c@
11
Last change on this file since 11 was 9, checked in by , 14 years ago | |
---|---|
File size: 217 bytes |
Line | |
---|---|
1 | #include <lib.h> |
2 | #define fstat _fstat |
3 | #include <sys/stat.h> |
4 | |
5 | PUBLIC int fstat(fd, buffer) |
6 | int fd; |
7 | struct stat *buffer; |
8 | { |
9 | message m; |
10 | |
11 | m.m1_i1 = fd; |
12 | m.m1_p1 = (char *) buffer; |
13 | return(_syscall(FS, FSTAT, &m)); |
14 | } |
Note:
See TracBrowser
for help on using the repository browser.