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

1234567891011>>

/netbsd-current/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
20 __RCSID("$NetBSD: lstat.c,v 1.2 2016/05/17 14:00:09 christos Exp $");
31 "#define lstat lstat64" is being used, and sys_stat.h deletes this
42 /* lstat works differently on Linux and Solaris systems. POSIX (see
45 FILE is a symbolic link. On Linux systems, the lstat function already
46 has the desired semantics (in treating `lstat("symlink/",sbuf)' just like
47 `lstat("symlink/.",sbuf)', but on Solaris it does not.
50 then append a `.' to FILE and call lstat a second time. */
58 int lstat_result = lstat (file, sbuf);
68 Append a `.' to FILE and repeat the lstat cal
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dlstat.c1 /* $NetBSD: lstat.c,v 1.2 2017/01/28 21:31:50 christos Exp $ */
41 lstat(const char *path, struct stat *buf) function
/netbsd-current/external/gpl3/gdb.old/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-current/external/gpl3/binutils.old/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-current/external/gpl3/binutils/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-current/external/gpl3/gcc/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/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-current/external/gpl3/gdb/dist/libiberty/
H A Dunlink-if-ordinary.c58 #define lstat stat macro
67 if (lstat (name, &st) == 0
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dwarn_stat.h21 #define lstat(p, s) warn_lstat((p), (s)) macro
H A Dlstat_as.c7 /* lstat file as user
51 /* lstat_as - lstat file as user */
67 status = lstat(path, st);
/netbsd-current/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-current/lib/libc/stdio/
H A Dremove.c59 if (lstat(file, &sb) < 0)
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dfstatat.c70 These are the same problems that lstat.c and stat.c address, so
87 /* Fix lstat behavior. */
119 /* Likewise, if there is no native 'lstat', then the gnulib
122 # undef lstat macro
123 # define lstat stat_func macro
129 Failing that, simulate it via save_cwd/fchdir/(stat|lstat)/restore_cwd.
135 # define AT_FUNC_F1 lstat
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dfstatat.c70 These are the same problems that lstat.c and stat.c address, so
87 /* Fix lstat behavior. */
119 /* Likewise, if there is no native 'lstat', then the gnulib
122 # undef lstat macro
123 # define lstat stat_func macro
129 Failing that, simulate it via save_cwd/fchdir/(stat|lstat)/restore_cwd.
135 # define AT_FUNC_F1 lstat

Completed in 420 milliseconds

1234567891011>>