jehanne: add umask

This commit is contained in:
Giacomo Tesio 2017-09-06 22:57:00 +02:00
parent 2c43a16b92
commit 656e79e567
1 changed files with 7 additions and 0 deletions

View File

@ -320,6 +320,13 @@ readlinkat(int fd, const char *path, char *buf, int bufsize)
return POSIX_readlinkat(errnop, fd, path, buf, bufsize);
}
int
umask(int mask)
{
int *errnop = &_REENT->_errno;
return POSIX_umask(errnop, mask);
}
#undef pread
ssize_t
pread(int fd, void *buf, size_t count, off_t offset)