Searched defs:path (Results 1 - 25 of 1344) sorted by relevance

1234567891011>>

/freebsd-head/crypto/heimdal/lib/roken/
H A Dchown.c39 chown(const char *path, uid_t owner, gid_t group) argument
H A Dlstat.c39 lstat(const char *path, struct stat *buf) argument
41 return stat(path, buf);
H A Dgetcwd.c46 getcwd(char *path, size_t size) argument
52 strlcpy(path, xxx, size);
/freebsd-head/gnu/usr.bin/grep/
H A Disdir.c37 isdir (const char *path) argument
41 return stat (path, &stats) == 0 && S_ISDIR (stats.st_mode);
/freebsd-head/lib/libc/gen/
H A Ddirname.c33 (dirname)(char *path) argument
38 * If path is a null pointer or points to an empty string,
41 if (path == NULL || *path == '\0')
45 end = path + strlen(path);
46 while (end > path + 1 && *(end - 1) == '/')
50 while (end > path && *(end - 1) != '/')
54 * If path does not contain a '/', then dirname() shall return a
57 if (end == path) {
[all...]
H A Dbasename.c33 (basename)(char *path) argument
38 * If path is a null pointer or points to an empty string,
41 if (path == NULL || *path == '\0')
45 ptr = path + strlen(path);
46 while (ptr > path + 1 && *(ptr - 1) == '/')
51 while (ptr > path && *(ptr - 1) != '/')
H A Dexect.c36 exect(const char *path, char *const argv[], char *const envp[]) argument
44 return (execve(path, argv, envp));
H A Dftok.c38 ftok(const char *path, int id) argument
42 if (stat(path, &st) < 0)
H A Ddirname_compat.c29 __freebsd11_dirname(char *path) argument
42 if (path == NULL || *path == '\0') {
49 endp = path + strlen(path) - 1;
50 while (endp > path && *endp == '/')
54 while (endp > path && *endp != '/')
58 if (endp == path) {
66 } while (endp > path && *endp == '/');
69 len = endp - path
[all...]
H A Dutime.c41 utime(const char *path, const struct utimbuf *times) argument
52 return (utimes(path, tvp));
H A Dlibc_dlopen.c45 libc_dlopen(const char *path, int mode) argument
52 return (dlopen(path, mode));
/freebsd-head/contrib/openpam/lib/libpam/
H A Dopenpam_static.c59 openpam_static(const char *path) argument
64 if (strcmp((*module)->path, path) == 0)
/freebsd-head/lib/libc/sys/
H A Dmknod.c41 mknod(const char *path, mode_t mode, dev_t dev) argument
44 return (__sys_mknodat(AT_FDCWD, path, mode, dev));
H A Dopen.c45 open(const char *path, int flags, ...) argument
58 __libc_interposing[INTERPOS_openat])(AT_FDCWD, path, flags, mode));
H A Dlstat.c39 lstat(const char *path, struct stat *sb) argument
45 return (__sys_fstatat(AT_FDCWD, path, sb, AT_SYMLINK_NOFOLLOW));
46 rv = syscall(SYS_freebsd11_lstat, path, &stat11);
H A Dstat.c39 stat(const char *path, struct stat *sb) argument
45 return (__sys_fstatat(AT_FDCWD, path, sb, 0));
46 rv = syscall(SYS_freebsd11_stat, path, &stat11);
H A Dstatfs.c38 statfs(const char *path, struct statfs *buf) argument
44 return (__sys_statfs(path, buf));
45 rv = syscall(SYS_freebsd11_statfs, path, &statfs11);
/freebsd-head/contrib/llvm-project/lld/Common/
H A DFilesystem.cpp41 void lld::unlinkAsync(StringRef path) { argument
44 sys::fs::remove(path);
46 if (!threadsEnabled || !sys::fs::exists(path) ||
47 !sys::fs::is_regular_file(path))
50 // We cannot just remove path from a different thread because we are now going
51 // to create path as a new file.
55 std::error_code ec = sys::fs::openFileForRead(path, fd);
56 sys::fs::remove(path);
93 std::error_code lld::tryCreateFile(StringRef path) { argument
94 if (path
[all...]
/freebsd-head/crypto/openssh/openbsd-compat/
H A Ddirname.c29 dirname(const char *path) argument
36 if (path == NULL || *path == '\0') {
43 endp = path + strlen(path) - 1;
44 while (endp > path && *endp == '/')
48 while (endp > path && *endp != '/')
52 if (endp == path) {
60 } while (endp > path && *endp == '/');
63 len = endp - path
[all...]
/freebsd-head/usr.sbin/ngctl/
H A Dshutdown.c50 "shutdown <path>",
51 "Shutdown the node at <path>",
59 char *path; local
64 path = av[1];
71 if (NgSendMsg(csock, path, NGM_GENERIC_COOKIE,
/freebsd-head/lib/libc/compat-43/
H A Dcreat.c46 int __creat(const char *path, mode_t mode);
50 __creat(const char *path, mode_t mode) argument
54 __libc_interposing[INTERPOS_openat])(AT_FDCWD, path, O_WRONLY |
/freebsd-head/usr.bin/patch/
H A Dmkpath.c46 * path - path
49 mkpath(char *path) argument
55 slash = path;
64 if (stat(path, &sb)) {
65 if (errno != ENOENT || (mkdir(path, 0777) &&
67 warn("%s", path);
71 warnx("%s: %s", path, strerror(ENOTDIR));
/freebsd-head/contrib/libarchive/libarchive/
H A Darchive_cmdline_private.h38 char *path; member in struct:archive_cmdline
/freebsd-head/contrib/kyua/utils/fs/
H A Dpath.hpp29 /// \file utils/fs/path.hpp
30 /// Provides the utils::fs::path class.
32 /// This is a poor man's reimplementation of the path class provided by
48 /// Representation and manipulation of a file system path.
50 /// Application code should always use this class to represent a path instead of
55 class path { class in namespace:utils::fs
56 /// Internal representation of the path.
60 explicit path(const std::string&);
65 path branch_path(void) const;
67 path to_absolut
[all...]
/freebsd-head/lib/libutil/
H A D_secure_path.c34 * Check for common security problems on a given path
46 _secure_path(const char *path, uid_t uid, gid_t gid) argument
52 if (lstat(path, &sb) < 0) {
72 syslog(LOG_ERR, msg, "_secure_path", path, uid);

Completed in 112 milliseconds

1234567891011>>