Searched refs:lstat (Results 76 - 100 of 143) sorted by relevance

123456

/illumos-gate/usr/src/cmd/logadm/
H A Dmain.c599 if (lstat(fname, &stbuf) < 0) {
802 if (hasn && lstat(buf2, &stbuf) != -1)
811 if (lstat(fn_s(gzfnp), &stbuf) != -1)
/illumos-gate/usr/src/cmd/luxadm/
H A Dlux_util.c1234 * the lstat. If lstat succeeds, return the path
1237 * a dangling /dev link doesn't pass lstat so
1244 * lstat succeeded previously and source
1256 /* check lstat result. */
1257 if (lstat(source, &stbuf) == -1) {
1272 if (lstat(source, &stbuf) == -1) {
1289 if (lstat(source, &stbuf) == -1) {
H A Dhotplug.c1123 if (lstat(source, &stbuf) == -1) {
1124 O_DPRINTF("lstat() failed for - %s\n",
1213 status = lstat(s, &stbuf);
1216 * S10: If string is devfs node we allow failed lstat.
2148 if (lstat(lname, &ses_stat) < 0) {
2942 if (lstat(lname, &dsk_stat) < 0) {
H A Dadm.c221 if (lstat(dir, &statbuf) < 0) {
223 "%s: lstat() failed - %s\n"),
H A Dfcalupdate.c845 if (lstat(devpath, &statbuf) < 0) {
847 MSGSTR(4539, "Error: %s lstat() error\n"), devpath);
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c421 * In this case we use lstat() instead of stat():
426 if ((lstat(target, &s2) == 0)) {
996 !(Pflg || (Hflg && !cmdarg))) ? stat : lstat;
1401 if (lstat(target, &st) == 0 && ISLNK(st))
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_io.c247 if (lstat(d->fn, &lstatb) == 0) {
248 /* Make sure fstat() and lstat() have accessed the same file */
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_dictionary.cc1508 int lstat; local
1518 dstat = dbCreateFromLDAP(tab, &lstat);
1521 if (lstat != LDAP_SUCCESS) {
1525 ldap_err2string(lstat));
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_stat.c141 * lstat() system call -- executed by subject process
156 return (lstat(path, buf));
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c752 return (lstat((char *)chbuf, buf));
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.c284 if (lstat(dir->dir_name, &stbuf) == 0) {
/illumos-gate/usr/src/tools/pmodes/
H A Dpmodes.c180 if (lstat(*argv, &stb) == 0 && S_ISREG(stb.st_mode)) {
/illumos-gate/usr/src/cmd/filesync/
H A Daction.c786 rc = lstat(dst, &statb);
988 rc = lstat(newname, &statb);
H A Deval.c390 rc = lstat(name, &statb);
394 fprintf(stderr, "EVAL: FAIL lstat, errno=%d\n", errno);
/illumos-gate/usr/src/cmd/chmod/
H A Dchmod.c281 if (lstat(name, &st) < 0) {
350 if (lstat(dir, &st) < 0) {
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c327 if (lstat("/var/run", &sb) != 0 || !(S_ISDIR(sb.st_mode))) {
2550 if (lstat(DoorFileName, &buf) < 0) {
2553 DPRINT3(5, "open_door(%u): lstat() of %s "
2583 if (lstat(OLD_DOORFILE, &buf) == 0) {
2584 DPRINT2(5, "open_door(%u): lstat() of %s "
2741 if (lstat(OLD_PIDFILE, &buf) == 0) {
2742 DPRINT2(5, "open_door(%u): lstat() of %s "
4412 if (lstat(DoorFileName, &sb) == 0 && !S_ISDIR(sb.st_mode)) {
4429 if (lstat(OLD_DOORFILE, &sb) == 0 && !S_ISDIR(sb.st_mode)) {
4458 if (lstat(PidFileNam
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c1980 int lstat, rstat; local
1987 lstat = IS_INITIATOR;
1990 lstat = IS_RESPONDER;
1993 print_addr("LOCIP:", &p1->p1sa_ipaddrs.loc_addr, lstat, 0);
2014 print_id("LOCID:", lidp, lstat);
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dshiocmd_solaris.c799 "[l:lstat?If the the named file is a symbolic link returns information about "
839 if(lstat(argv[1], &statb) < 0)
H A Dtest.c362 if(*arg==0 || arg[strlen(arg)-1]=='/' || lstat(arg,&statb)<0)
/illumos-gate/usr/src/cmd/utmpd/
H A Dutmpd.c1092 if (lstat(UTMP_FILE, &s) == 0 &&
/illumos-gate/usr/src/cmd/rmvolmgr/
H A Dvold.c1008 if (lstat(dir, &stat_buf) < 0) {
/illumos-gate/usr/src/uts/common/syscall/
H A Dstat.c183 lstat(char *name, struct stat *sb) function
189 * Common code for stat(), lstat(), and fstat().
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dglob.c634 gp->gl_lstat = (GL_stat_f)lstat;
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddisk_link.c611 if (lstat(tpath, &sb) != -1)
/illumos-gate/usr/src/uts/common/os/
H A Dsysent.c171 int lstat(char *, struct stat *);
545 /* 88 */ SYSENT_CI("lstat", lstat, 2),
912 /* 88 */ SYSENT_CI("lstat", lstat32, 2),

Completed in 112 milliseconds

123456