ack/mach/minixST/libsys/_stat.c

12 lines
223 B
C
Raw Permalink Normal View History

#include <lib.h>
#define stat _stat
#include <sys/stat.h>
PUBLIC int stat(name, buffer)
_CONST char *name;
struct stat *buffer;
{
return(_callm1(FS, STAT, _len(name), 0, 0,
(char *)name, (char *)buffer, NIL_PTR));
}