Searched refs:lstat (Results 1 - 25 of 45) sorted by relevance

12

/haiku/src/tests/system/kernel/
H A Dpath_resolution_test.cpp22 lstat(path, &st);
/haiku/src/system/libroot/posix/stdlib/
H A Drealpath.cpp40 if (lstat(resolvedPath, &stat) != 0) {
H A Dmktemp.c161 } else if (lstat(path, &sbuf))
/haiku/src/build/libroot/
H A DLocalFD.h49 result = lstat(Path(), &st);
H A Dfs_attr_generic.cpp59 if (lstat(sAttributeDirBasePath, &st) == 0) {
190 if (path == NULL || lstat(path, &st) < 0 || !S_ISLNK(st.st_mode))
296 if (lstat(attrDirPath.c_str(), &st) == 0) {
412 if (lstat(path, &st))
495 bool exists = (lstat(attrPath.c_str(), &st) == 0);
647 if (lstat(attrPath.c_str(), &st) < 0)
H A Dfs_darwin.cpp251 // call stat() or lstat() ignoring fd
252 return (flag & AT_SYMLINK_NOFOLLOW) != 0 ? lstat(path, st)
266 return (flag & AT_SYMLINK_NOFOLLOW) != 0 ? lstat(fullPath, st)
H A Dfs.cpp215 // mount points. Thus we always have to lstat().
217 // included in the dirent structure. Hence we lstat().
222 if (lstat(entryPath.c_str(), &st) == 0) {
667 if (lstat(path, &st) < 0) {
858 result = lstat(realPath.c_str(), st);
890 if (lstat(realPath.c_str(), &tmpStat) < 0)
1047 // to lstat() to get the full length of the link.
1054 // length of the link using lstat.
1056 if (lstat(realPath.c_str(), &linkStat) != 0)
/haiku/src/bin/
H A Ddiskimage.cpp81 if (lstat(fileName, &st) != 0) {
146 if (lstat(fileNameOrID, &st) != 0) {
168 if ((device.GetFilePath(&path) == B_OK && lstat(path.Path(), &st) == 0
171 || (device.GetPath(&path) == B_OK && lstat(path.Path(), &st) == 0
H A Ddiff_zip.cpp78 if (lstat(path.c_str(), &st) != 0)
108 if (lstat(path.c_str(), &st) == 0) {
165 if (lstat(entryPath.c_str(), &st) != 0) {
320 if (lstat(path, &st) != 0) {
H A Dcopyattr.cpp299 if (lstat(sourcePath, &sourceStat) < 0) {
307 bool destExists = lstat(destPath, &destStat) == 0;
H A Dramdisk.cpp270 if (lstat(path, &st) != 0) {
/haiku/src/system/libroot/posix/musl/misc/
H A Dnftw.c34 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) {
35 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st))
/haiku/src/system/libroot/posix/glibc/include/sys/
H A Dstat.h38 /* The `stat', `fstat', `lstat' functions have to be handled special since
44 #define lstat(fname, buf) __lxstat (_STAT_VER, fname, buf)
/haiku/src/tests/kits/storage/
H A DStatableTest.cpp42 CPPUNIT_ASSERT( lstat(entryName.c_str(), &st2) == 0 );
74 CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
115 CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
215 CPPUNIT_ASSERT( lstat(entryName.c_str(), &st) == 0 );
/haiku/src/system/libroot/os/
H A DArchitecture.cpp44 return lstat(path, &st) == 0;
H A Dfind_paths.cpp246 if (lstat(path, &st) != 0)
321 if (lstat(buffer, &st) != 0)
338 if (lstat(buffer, &st) == 0)
487 if (lstat(path, &st) != 0)
/haiku/src/kits/package/
H A DPathFinder.cpp89 if (lstat(packageLinksPath, &st) < 0)
/haiku/src/tools/fs_shell/
H A Dstat.cpp88 if (lstat(path, &st) < 0)
/haiku/src/tools/
H A Drm_attrs.cpp134 if (lstat(path.GetPath(), &st) < 0) {
/haiku/headers/posix/sys/
H A Dstat.h117 extern int lstat(const char *path, struct stat *st);
/haiku/src/kits/storage/
H A DRemoveEngine.cpp72 if (lstat(path, &st) < 0) {
H A DCopyEngine.cpp139 if (lstat(sourcePath, &sourceStat) < 0) {
146 bool destExists = lstat(destPath, &destStat) == 0;
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dtempname.c99 # define __lxstat64(version, path, buf) lstat (path, buf)
/haiku/src/tests/add-ons/kernel/file_systems/consistency_check/
H A Dgenerate_hashs.cpp150 if (::lstat(path, &stat) != 0) {
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DNode.cpp148 if (lstat(path.GetPath(), &st) < 0)

Completed in 244 milliseconds

12