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