libposix: add POSIX_chmod and POSIX_fchmodat to posix.h

This commit is contained in:
Giacomo Tesio 2017-08-23 02:05:34 +02:00
parent 64d840d5ad
commit 61c4849bd7
1 changed files with 2 additions and 0 deletions

View File

@ -87,6 +87,8 @@ typedef unsigned long clock_t;
#define __POSIX_SIGNAL_PREFIX "posix: "
extern void POSIX_exit(int code) __attribute__((noreturn));
extern int POSIX_chmod(int *errnop, const char *path, int mode);
extern int POSIX_fchmodat(int *errnop, int fd, const char *path, long mode, int flag);
extern int POSIX_close(int *errnop, int file);
extern int POSIX_execve(int *errnop, const char *name, char * const*argv, char * const*env);
extern int POSIX_fork(int *errnop);