12 lines
220 B
C
12 lines
220 B
C
|
#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));
|
||
|
}
|