source: trunk/minix/lib/posix/_fstat.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: 217 bytes
RevLine 
[9]1#include <lib.h>
2#define fstat _fstat
3#include <sys/stat.h>
4
5PUBLIC int fstat(fd, buffer)
6int fd;
7struct 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.