source: trunk/minix/lib/posix/_fstatfs.c@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 239 bytes
Line 
1#include <lib.h>
2#define fstatfs _fstatfs
3#include <sys/stat.h>
4#include <sys/statfs.h>
5
6PUBLIC 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.