9p-util.h (d6780c822144f6b0ae81dd2793dfe84179294822) | 9p-util.h (3dbcf27334b6c41e74a476b55d76f60df1c4007b) |
---|---|
1/* 2 * 9p utilities 3 * 4 * Copyright IBM, Corp. 2017 5 * 6 * Authors: 7 * Greg Kurz <groug@kaod.org> 8 * --- 36 unchanged lines hidden (view full) --- 45 serrno = errno; 46 /* O_NONBLOCK was only needed to open the file. Let's drop it. */ 47 ret = fcntl(fd, F_SETFL, flags); 48 assert(!ret); 49 errno = serrno; 50 return fd; 51} 52 | 1/* 2 * 9p utilities 3 * 4 * Copyright IBM, Corp. 2017 5 * 6 * Authors: 7 * Greg Kurz <groug@kaod.org> 8 * --- 36 unchanged lines hidden (view full) --- 45 serrno = errno; 46 /* O_NONBLOCK was only needed to open the file. Let's drop it. */ 47 ret = fcntl(fd, F_SETFL, flags); 48 assert(!ret); 49 errno = serrno; 50 return fd; 51} 52 |
53int relative_openat_nofollow(int dirfd, const char *path, int flags, 54 mode_t mode); | |
55ssize_t fgetxattrat_nofollow(int dirfd, const char *path, const char *name, 56 void *value, size_t size); 57int fsetxattrat_nofollow(int dirfd, const char *path, const char *name, 58 void *value, size_t size, int flags); 59 60#endif | 53ssize_t fgetxattrat_nofollow(int dirfd, const char *path, const char *name, 54 void *value, size_t size); 55int fsetxattrat_nofollow(int dirfd, const char *path, const char *name, 56 void *value, size_t size, int flags); 57 58#endif |