/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | lstat.h | 22 # undef lstat macro 23 # define lstat rpl_lstat macro
|
H A D | lstat.c | 1 /* 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 D | lstat.c | 1 /* $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 D | stat4.c | 19 if (lstat (".", &buf) != 0 22 if (lstat (path, &buf) != 0
|
H A D | stat2.c | 15 if (lstat (".", &buf) != 0
|
H A D | stat5.c | 1 /* Check that lstat:ing an nonexistent file works as expected. 16 if (lstat ("nonexistent", &buf) == 0 || errno != ENOENT)
|
H A D | stat7.c | 17 if (lstat (NULL, &buf) != -1 20 perror ("lstat 1");
|
/netbsd-current/external/gpl3/binutils.old/dist/libiberty/ |
H A D | unlink-if-ordinary.c | 58 #define lstat stat macro 67 if (lstat (name, &st) == 0
|
/netbsd-current/external/gpl3/binutils/dist/libiberty/ |
H A D | unlink-if-ordinary.c | 58 #define lstat stat macro 67 if (lstat (name, &st) == 0
|
/netbsd-current/external/gpl3/gcc.old/dist/libiberty/ |
H A D | unlink-if-ordinary.c | 58 #define lstat stat macro 67 if (lstat (name, &st) == 0
|
/netbsd-current/external/gpl3/gdb.old/dist/libiberty/ |
H A D | unlink-if-ordinary.c | 58 #define lstat stat macro 67 if (lstat (name, &st) == 0
|
/netbsd-current/external/gpl3/gcc/dist/libiberty/ |
H A D | unlink-if-ordinary.c | 58 #define lstat stat macro 67 if (lstat (name, &st) == 0
|
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/cris/c/ |
H A D | stat4.c | 19 if (lstat (".", &buf) != 0 22 if (lstat (path, &buf) != 0
|
H A D | stat2.c | 15 if (lstat (".", &buf) != 0
|
H A D | stat5.c | 1 /* Check that lstat:ing an nonexistent file works as expected. 16 if (lstat ("nonexistent", &buf) == 0 || errno != ENOENT)
|
H A D | stat7.c | 17 if (lstat (NULL, &buf) != -1 20 perror ("lstat 1");
|
/netbsd-current/external/gpl3/gdb/dist/libiberty/ |
H A D | unlink-if-ordinary.c | 58 #define lstat stat macro 67 if (lstat (name, &st) == 0
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | warn_stat.h | 21 #define lstat(p, s) warn_lstat((p), (s)) macro
|
H A D | lstat_as.c | 7 /* lstat file as user 51 /* lstat_as - lstat file as user */ 67 status = lstat(path, st);
|
/netbsd-current/tools/compat/ |
H A D | lchflags.c | 32 /* Emulate lchflags(2), checking path with lstat(2) first to ensure that 47 if (lstat(path, &psb) == -1)
|
H A D | lchmod.c | 32 /* Emulate lchmod(2), checking path with lstat(2) first to ensure that 47 if (lstat(path, &psb) == -1)
|
H A D | lchown.c | 32 /* 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 D | remove.c | 59 if (lstat(file, &sb) < 0)
|
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | fstatat.c | 70 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 D | fstatat.c | 70 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
|