Searched refs:lstat (Results 26 - 50 of 322) sorted by relevance

1234567891011>>

/netbsd-current/external/bsd/am-utils/dist/amd/
H A Damfs_linkx.c96 * Use lstat, not stat, since we don't
100 if (lstat(ln, &stb) < 0)
/netbsd-current/lib/libc/compat/gen/
H A Dcompat_glob.c32 #define lstat __compat_lstat macro
H A Dcompat___fts31.c44 #define lstat __compat___lstat30 macro
H A Dcompat___fts32.c50 #define lstat __compat___lstat30 macro
H A Dcompat___fts13.c46 #define lstat __compat___lstat13 macro
H A Dcompat___fts30.c36 #define lstat __compat___lstat30 macro
H A Dcompat_fts.c66 #define lstat __compat_lstat macro
/netbsd-current/lib/libutil/
H A Dsecure_path.c60 if (lstat(path, &sb) < 0)
/netbsd-current/tests/lib/libc/c063/
H A Dt_linkat.c165 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 Dtest_write_disk_secure.c193 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 Dmail_open_ok.c98 if (lstat(*path, statp) < 0) {
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dwarn_stat.c24 /* 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 Dnoso.c17 if (lstat(argv[i], &sb) < 0)
/netbsd-current/include/
H A Drmt.h56 #define lstat rmtlstat macro
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dlstat.c1 /* 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 Dsys_stat.in.h538 /* 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 Dlstat.c1 /* 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 Dsys_stat.in.h575 /* 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 Dbtvmei.c368 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 Dfs.c102 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 Dcompat_stat.c52 __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 Dopenat.c142 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 Drename.c130 #define lstat stat macro
144 exists = lstat (to, &s) == 0;
/netbsd-current/bin/ln/
H A Dln.c166 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 Dfstree.c35 if (lstat(tmpname, &st) < 0)

Completed in 391 milliseconds

1234567891011>>