#ifndef STAT_H
#define STAT_H 1

#include <ansi.h>
#include <time.h>

struct stat {
	unsigned long st_dev;
	unsigned long st_ino;
	unsigned short st_type;		/* Holds the same value as d_type */
	unsigned short st_nlink;
	unsigned short st_uid;
	unsigned short st_gid;
	unsigned long st_rdev;
	unsigned long st_size;
	unsigned long st_blksize;
	unsigned long st_blocks;
	struct timespec st_atime;
	struct timespec st_mtime;
	struct timespec st_ctime;
	unsigned long unused[2];
};

_PROTOTYPE(extern int stat, (_CONST char *path, struct stat *stats));

#endif
