shithub: scc

ref: 8604fd05150d98be7c9503ec9a97b63f05371ff7
dir: /src/cmd/sys.h/

View raw version
struct fprop {
	unsigned uid;
	unsigned gid;
	unsigned long mode;
	long size;
	time_t time;
};

extern const char invalidchars[];

extern time_t totime(long long t);
extern char *canonical(char *path);
extern int getstat(char *fname, struct fprop *prop);
extern int setstat(char *fname, struct fprop *prop);