/src/tools/compat/ |
lchflags.c | 32 /* Emulate lchflags(2), checking path with lstat(2) first to ensure that 47 if (lstat(path, &psb) == -1)
|
lchmod.c | 32 /* Emulate lchmod(2), checking path with lstat(2) first to ensure that 47 if (lstat(path, &psb) == -1)
|
lchown.c | 32 /* Emulate lchown(2), checking path with lstat(2) first to ensure that 47 if (lstat(path, &psb) == -1)
|
/src/lib/libc/stdio/ |
remove.c | 59 if (lstat(file, &sb) < 0)
|
gettemp.c | 129 } else if (lstat(path, &sbuf))
|
/src/lib/libc/compat/gen/ |
compat_glob.c | 32 #define lstat __compat_lstat macro
|
compat___fts31.c | 44 #define lstat __compat___lstat30 macro
|
compat___fts32.c | 50 #define lstat __compat___lstat30 macro
|
compat___fts13.c | 46 #define lstat __compat___lstat13 macro
|
compat___fts30.c | 36 #define lstat __compat___lstat30 macro
|
compat_fts.c | 66 #define lstat __compat_lstat macro
|
/src/lib/libutil/ |
secure_path.c | 60 if (lstat(path, &sb) < 0)
|
/src/tests/lib/libc/c063/ |
t_linkat.c | 165 ATF_REQUIRE(lstat(LINK, &ost) == 0); 166 ATF_REQUIRE(lstat(TARGET, &nst) == 0); 169 ATF_REQUIRE(lstat(FILE, &ost) == 0); 170 ATF_REQUIRE(lstat(TARGET, &nst) == 0); 197 ATF_REQUIRE(lstat(LINK, &ost) == 0); 198 ATF_REQUIRE(lstat(TARGET, &nst) == 0); 201 ATF_REQUIRE(lstat(FILE, &ost) == 0); 202 ATF_REQUIRE(lstat(TARGET, &nst) == 0);
|
/src/include/ |
rmt.h | 56 #define lstat rmtlstat macro
|
/src/share/man/tools/ |
noso.c | 17 if (lstat(argv[i], &sb) < 0)
|
/src/sys/dev/pci/ |
btvmei.c | 368 b3_617_vmeintr(struct b3_617_softc *sc, unsigned char lstat) 377 if (!(lstat & (1 << level))) 620 unsigned char lstat; local in function:b3_617_intr 626 lstat = read_csr_byte(sc, LDMA_CMD); 627 if ((lstat & LDC_DMA_DONE) && (lstat & LDC_DMA_INT_ENABLE)) { 629 write_csr_byte(sc, LDMA_CMD, lstat & (~LDC_DMA_DONE)); 636 lstat = read_csr_byte(sc, LOC_INT_STATUS); 637 if (lstat & LIS_CINT_MASK) { 639 b3_617_vmeintr(sc, lstat); [all...] |
/src/lib/libc/compat/sys/ |
compat_stat.c | 52 __warn_references(lstat, 53 "warning: reference to compatibility lstat(); include <sys/stat.h> to generate correct reference") 62 __strong_alias(lstat, __compat_lstat)
|
/src/bin/ln/ |
ln.c | 166 if (hflag && lstat(targetdir, &sb) == 0 && S_ISLNK(sb.st_mode)) { 241 if ((Pflag ? lstat : stat)(source, &sb)) { 258 (lstat(target, &sb) == 0 && S_ISDIR(sb.st_mode)) || 300 exists = !lstat(target, &sb);
|
/src/tests/lib/libc/sys/ |
t_stat.c | 175 ATF_REQUIRE_ERRNO(ENAMETOOLONG, lstat(buf, &st) == -1); 181 ATF_REQUIRE_ERRNO(EFAULT, lstat((void *)-1, &st) == -1); 187 ATF_REQUIRE_ERRNO(EFAULT, lstat("/etc/passwd", (void *)-1) == -1); 193 ATF_REQUIRE_ERRNO(ENOENT, lstat("/a/b/c/d/e/f/g/h/i/j/k", &st) == -1); 385 ATF_REQUIRE(lstat(pathlink, &sb) == 0); 391 atf_tc_fail("lstat(2) did not detect symbolic link"); 394 atf_tc_fail("inconsistencies between stat(2) and lstat(2)");
|
/src/bin/pax/ |
file_subs.c | 310 * is not a directory, so we lstat and check. XXX: This is still racy. 312 if (lstat(arcn->ln_name, &sb) != -1 && S_ISDIR(sb.st_mode)) { 364 if (lstat(arcn->name, &sb) < 0) 402 if (lstat(from, &sb) == 0) { 494 while (lstat(nm, &sb) == 0 && 614 if (lstat(nm, &sb) < 0) { 672 if (lstat(name, &sb) < 0) 753 if (lstat(name, &sb) == 0) { 784 (lstat(name, &sb) == 0)) { 835 if (lstat(fnm, &sb) == 0) [all...] |
/src/regress/sys/kern/getcwd/ |
old_getcwd.c | 133 if (lstat(up, &s)) 208 if (lstat(up, &s)) {
|
/src/distrib/utils/tls/ |
tls.c | 97 if (lstat(fname, &st)) { 98 warn("lstat `%s'", fname);
|
/src/share/examples/puffs/pnullfs/ |
pnullfs.c | 91 if (lstat(argv[0], &sb) == -1)
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/symbolizer/ |
sanitizer_wrappers.cc | 146 int lstat(const char *path, struct stat *buf) { STAT(lstat, path, buf); } function in typeref:typename:int 156 STAT(lstat, path, buf);
|
/src/usr.sbin/sysinst/ |
aout2elf.c | 225 if (lstat(prefix, &st) == 0) { 243 if (lstat(src, &st) == 0) { 335 * lstat the basename part. 366 if (lstat(p, &sb) == 0) {
|