summaryrefslogtreecommitdiff
path: root/libc/include/sys/stat.h
blob: 7e468f3ddb8b365d9917a9ab8ec7299b19208662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _SYS_STAT_H
#define _SYS_STAT_H

#include <features.h>
#include <sys/types.h>
#include __SYSINC__(stat.h)

int stat __P((__const char * __path, struct stat * __statbuf));
int lstat __P((__const char * __path, struct stat * __statbuf));
int fstat __P((int __fd, struct stat * __statbuf));

/* hysterical raisins */
#define S_IREAD		S_IRUSR /* read permission, owner */
#define S_IWRITE	S_IWUSR /* write permission, owner */
#define S_IEXEC		S_IXUSR /* execute/search permission, owner */
#endif