Lines Matching defs:dirfd
1781 int SysOpenat(int dirfd, const char *path, int oflags, ...)
1814 if (dirfd != AT_FDCWD) {
1816 dirfd = GetAssociatedSystemFd(dirfd);
1819 ret = do_open(dirfd, (path ? pathRet : NULL), oflags, mode);
1841 int SysMkdirat(int dirfd, const char *pathname, mode_t mode)
1853 if (dirfd != AT_FDCWD) {
1855 dirfd = GetAssociatedSystemFd(dirfd);
1858 ret = do_mkdir(dirfd, (pathname ? pathRet : NULL), mode);
1915 int SysSymlinkat(const char *target, int dirfd, const char *linkpath)
1935 if (dirfd != AT_FDCWD) {
1937 dirfd = GetAssociatedSystemFd(dirfd);
1940 ret = symlinkat(targetRet, dirfd, pathRet);
1956 ssize_t SysReadlinkat(int dirfd, const char *pathname, char *buf, size_t bufsize)
1981 if (dirfd != AT_FDCWD) {
1983 dirfd = GetAssociatedSystemFd(dirfd);
1991 ret = readlinkat(dirfd, pathRet, buf, bufsize);
2003 int SysUnlinkat(int dirfd, const char *pathname, int flag)
2015 if (dirfd != AT_FDCWD) {
2017 dirfd = GetAssociatedSystemFd(dirfd);
2020 ret = unlinkat(dirfd, (pathname ? pathRet : NULL), flag);
2528 int SysFstatat64(int dirfd, const char *restrict path, struct kstat *restrict buf, int flag)
2542 if (dirfd != AT_FDCWD) {
2544 dirfd = GetAssociatedSystemFd(dirfd);
2547 ret = vfs_normalize_pathat(dirfd, pathRet, &fullpath);