includes: small fixes and additions to help compiling programs.

This commit is contained in:
Ben Gras
2010-06-22 09:30:26 +00:00
parent e68d8eb1ff
commit 4383596e9d
4 changed files with 6 additions and 0 deletions

View File

@@ -65,6 +65,8 @@ struct stat {
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* is a symlink */
#define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) /* is a pipe/FIFO */
#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
/* Function Prototypes. */
_PROTOTYPE( int chmod, (const char *_path, mode_t _mode) );
_PROTOTYPE( int fchmod, (int fd, mode_t _mode) );