/netbsd-current/external/bsd/am-utils/dist/amd/ |
H A D | amfs_linkx.c | 96 * Use lstat, not stat, since we don't 100 if (lstat(ln, &stb) < 0)
|
/netbsd-current/lib/libc/compat/gen/ |
H A D | compat_glob.c | 32 #define lstat __compat_lstat macro
|
H A D | compat___fts31.c | 44 #define lstat __compat___lstat30 macro
|
H A D | compat___fts32.c | 50 #define lstat __compat___lstat30 macro
|
H A D | compat___fts13.c | 46 #define lstat __compat___lstat13 macro
|
H A D | compat___fts30.c | 36 #define lstat __compat___lstat30 macro
|
H A D | compat_fts.c | 66 #define lstat __compat_lstat macro
|
/netbsd-current/lib/libutil/ |
H A D | secure_path.c | 60 if (lstat(path, &sb) < 0)
|
/netbsd-current/tests/lib/libc/c063/ |
H A D | 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);
|
/netbsd-current/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_write_disk_secure.c | 193 assertEqualInt(0, lstat("link_to_dir3", &st)); 215 assertEqualInt(0, lstat("link_to_dir4", &st)); 243 assertEqualInt(0, lstat("link_to_dir5", &st)); 274 assert(0 == lstat("dir", &st)); 278 assert(0 == lstat("link_to_dir", &st)); 309 assert(0 == lstat("dir/filea", &st)); 314 assert(0 != lstat("dir/fileb", &st)); 316 assert(0 == lstat("link_to_dir2", &st)); 322 assert(0 == lstat("link_to_dir2/filec", &st)); 328 assert(0 != lstat("di [all...] |
/netbsd-current/external/ibm-public/postfix/dist/src/global/ |
H A D | mail_open_ok.c | 98 if (lstat(*path, statp) < 0) {
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | warn_stat.c | 24 /* fstat() and lstat() system calls with code that logs a 81 /* warn_lstat - lstat with warning */ 87 ret = lstat(path, st);
|
/netbsd-current/share/man/tools/ |
H A D | noso.c | 17 if (lstat(argv[i], &sb) < 0)
|
/netbsd-current/include/ |
H A D | rmt.h | 56 #define lstat rmtlstat macro
|
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | lstat.c | 1 /* Work around a bug of lstat on some systems 28 defined lstat as stat, so there is nothing further to do other than 33 /* Get the original definition of lstat. It might be defined as a macro. */ 41 return lstat (filename, buf); 59 /* lstat works differently on Linux and Solaris systems. POSIX (see 63 lstat function already has the desired semantics (in treating 64 'lstat ("symlink/", sbuf)' just like 'lstat ("symlink/.", sbuf)', 79 lack symlinks (mingw) or have working lstat (cygwin) and thus do
|
H A D | sys_stat.in.h | 538 /* mingw does not support symlinks, therefore it does not have lstat. But 541 # define lstat stat 543 _GL_CXXALIAS_RPL_1 (lstat, stat, int, 547 # undef lstat 548 # define lstat rpl_lstat 550 _GL_FUNCDECL_RPL (lstat, int, 553 _GL_CXXALIAS_RPL (lstat, int, 556 _GL_CXXALIAS_SYS (lstat, int, 560 _GL_CXXALIASWARN (lstat); 563 # undef lstat [all...] |
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | lstat.c | 1 /* Work around a bug of lstat on some systems 28 defined lstat as stat, so there is nothing further to do other than 33 /* Get the original definition of lstat. It might be defined as a macro. */ 41 return lstat (filename, buf); 59 /* lstat works differently on Linux and Solaris systems. POSIX (see 63 lstat function already has the desired semantics (in treating 64 'lstat ("symlink/", sbuf)' just like 'lstat ("symlink/.", sbuf)', 79 lack symlinks (mingw) or have working lstat (cygwin) and thus do
|
H A D | sys_stat.in.h | 575 /* mingw does not support symlinks, therefore it does not have lstat. But 578 # define lstat stat 580 _GL_CXXALIAS_RPL_1 (lstat, stat, int, 584 # undef lstat 585 # define lstat rpl_lstat 587 _GL_FUNCDECL_RPL (lstat, int, 590 _GL_CXXALIAS_RPL (lstat, int, 593 _GL_CXXALIAS_SYS (lstat, int, 597 _GL_CXXALIASWARN (lstat); 600 # undef lstat [all...] |
/netbsd-current/sys/dev/pci/ |
H A D | btvmei.c | 368 b3_617_vmeintr(struct b3_617_softc *sc, unsigned char lstat) argument 377 if (!(lstat & (1 << level))) 620 unsigned char lstat; local 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...] |
/netbsd-current/external/gpl2/lvm2/dist/lib/activate/ |
H A D | fs.c | 102 if (!lstat(path, &buf)) { 115 if (!lstat(path, &buf)) { 160 if (!lstat(raw_lv_path, &buf)) { 206 if (!lstat(lvm1_group_path, &buf)) { 219 if (!lstat(lv_path, &buf)) { 283 if (lstat(raw_lv_path, &buf) || !S_ISLNK(buf.st_mode)) { 302 if (lstat(lv_path, &buf) && errno == ENOENT)
|
/netbsd-current/lib/libc/compat/sys/ |
H A D | 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)
|
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | openat.c | 142 Simulate it by doing save_cwd/fchdir/(stat|lstat)/restore_cwd. 156 ? lstat (file, st) 172 ? lstat (file, st)
|
/netbsd-current/external/gpl3/gdb.old/dist/binutils/ |
H A D | rename.c | 130 #define lstat stat macro 144 exists = lstat (to, &s) == 0;
|
/netbsd-current/bin/ln/ |
H A D | 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);
|
/netbsd-current/external/gpl2/dtc/dist/ |
H A D | fstree.c | 35 if (lstat(tmpname, &st) < 0)
|