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

12345678

/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Dlstat.h22 # undef lstat macro
23 # define lstat rpl_lstat macro
H A Dlstat.c1 /* Work around a bug of lstat on some systems
28 "#define lstat lstat64" is being used, and sys_stat.h deletes this
39 /* lstat works differently on Linux and Solaris systems. POSIX (see
42 FILE is a symbolic link. On Linux systems, the lstat function already
43 has the desired semantics (in treating `lstat("symlink/",sbuf)' just like
44 `lstat("symlink/.",sbuf)', but on Solaris it does not.
47 then append a `.' to FILE and call lstat a second time. */
55 int lstat_result = lstat (file, sbuf);
65 Append a `.' to FILE and repeat the lstat call. */
73 lstat_result = lstat (new_fil
[all...]
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dlstat.c41 lstat(const char *path, struct stat *buf) function
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/
H A Dstat4.c19 if (lstat (".", &buf) != 0
22 if (lstat (path, &buf) != 0
H A Dstat2.c15 if (lstat (".", &buf) != 0
H A Dstat5.c1 /* Check that lstat:ing an nonexistent file works as expected.
16 if (lstat ("nonexistent", &buf) == 0 || errno != ENOENT)
H A Dstat7.c17 if (lstat (NULL, &buf) != -1
20 perror ("lstat 1");
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-6-1-5-RELEASE/tools/compat/
H A Dlchflags.c32 /* Emulate lchflags(2), checking path with lstat(2) first to ensure that
47 if (lstat(path, &psb) == -1)
H A Dlchmod.c32 /* Emulate lchmod(2), checking path with lstat(2) first to ensure that
47 if (lstat(path, &psb) == -1)
H A Dlchown.c32 /* Emulate lchown(2), checking path with lstat(2) first to ensure that
47 if (lstat(path, &psb) == -1)
/netbsd-6-1-5-RELEASE/lib/libc/stdio/
H A Dremove.c60 if (lstat(file, &sb) < 0)
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/util/
H A Dlstat_as.c7 /* lstat file as user
50 /* lstat_as - lstat file as user */
66 status = lstat(path, st);
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/
H A Damfs_linkx.c100 * Use lstat, not stat, since we don't
104 if (lstat(ln, &stb) < 0)
/netbsd-6-1-5-RELEASE/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_write_disk_secure.c127 assertEqualInt(0, lstat("link_to_dir3", &st));
149 assertEqualInt(0, lstat("link_to_dir4", &st));
177 assertEqualInt(0, lstat("link_to_dir5", &st));
184 assert(0 == lstat("dir", &st));
188 assert(0 == lstat("link_to_dir", &st));
197 assert(0 == lstat("dir/filea", &st));
202 assert(0 != lstat("dir/fileb", &st));
204 assert(0 == lstat("link_to_dir2", &st));
210 assert(0 == lstat("link_to_dir2/filec", &st));
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/fixincludes/tests/base/sys/
H A Dstat.h59 lstat(),
/netbsd-6-1-5-RELEASE/lib/libutil/
H A Dsecure_path.c60 if (lstat(path, &sb) < 0)
/netbsd-6-1-5-RELEASE/bin/ln/
H A Dln.c131 if (hflag && lstat(sourcedir, &sb) == 0 && S_ISLNK(sb.st_mode)) {
171 (!lstat(source, &sb) && S_ISDIR(sb.st_mode)) ||
181 exists = !lstat(source, &sb);
/netbsd-6-1-5-RELEASE/include/
H A Drmt.h55 #define lstat rmtlstat macro
/netbsd-6-1-5-RELEASE/lib/libc/compat/gen/
H A Dcompat___fts13.c37 #define lstat __lstat13 macro
H A Dcompat___fts30.c36 #define lstat __lstat30 macro
H A Dcompat___fts31.c35 #define lstat __lstat30 macro

Completed in 353 milliseconds

12345678