ack/mach/minix/libsys/_fstat.c

12 lines
220 B
C
Raw Permalink Normal View History

#include <lib.h>
#include <sys/types.h>
#define fstat _fstat
#include <sys/stat.h>
PUBLIC int fstat(fd, buffer)
int fd;
struct stat *buffer;
{
return(_callm1(FS, FSTAT, fd, 0, 0, (char *)buffer, NIL_PTR, NIL_PTR));
}