/illumos-gate/usr/src/lib/brand/solaris10/s10_replacefile/ |
H A D | s10_replacefile.c | 80 struct stat statbuf; local 109 if (stat(argv[4], &statbuf) == 0 && (statbuf.st_mode & S_IFREG)) {
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/ |
H A D | mmap_exec.c | 44 struct stat statbuf; local 59 if (fstat(fd, &statbuf) < 0) { 64 if (mmap(0, statbuf.st_size,
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | scr_ll_dump.c | 55 struct stat statbuf; local 62 statbuf.st_mtime = 0; 64 (void) stat(thistty, &statbuf); 66 if (fwrite((char *) &(statbuf.st_mtime), sizeof (time_t),
|
H A D | scr_reset.c | 83 struct stat statbuf; local 110 (fstat(cur_term->Filedes, &statbuf) < 0) || 111 (statbuf.st_mtime != ttytime))) { 118 "statbuf.st_mtime = %d, " 120 statbuf.st_mtime, ttytime);
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | next.c | 112 struct stat statbuf; local 116 if (Stat(path, &statbuf) == -1) { 121 return ((statbuf.st_mode & S_IFMT) == what);
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | keyfile.c | 50 struct stat statbuf; local 65 if (fstat(fd, &statbuf) == -1) { 71 if (S_ISREG(statbuf.st_mode)) { 73 filesize = statbuf.st_size;
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | writev.c | 23 struct stat statbuf; local 25 if (fstat(fd, &statbuf) < 0) 31 if (statbuf.st_mode & S_IFSOCK) {
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | yp_getalias.c | 77 struct statvfs statbuf; local 95 if (statvfs(YPDBDIR, &statbuf) != 0) { 99 /* if (strcmp(statbuf.f_basetype,"s5")) (doesn't work in k13) */ 100 if (statbuf.f_namemax == 14)
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_util.c | 61 struct stat statbuf; local 78 if (stat(src, &statbuf) != 0) {
|
/illumos-gate/usr/src/cmd/srptsvc/ |
H A D | srptsvc.c | 52 struct stat statbuf; local 79 if ((stat("/devices/ib", &statbuf)) != 0) {
|
/illumos-gate/usr/src/cmd/lp/lib/forms/ |
H A D | putform.c | 55 struct stat statbuf; local 74 if (Stat(path, &statbuf) == 0) { 75 if (!S_ISDIR(statbuf.st_mode)) {
|
/illumos-gate/usr/src/cmd/lp/lib/printers/ |
H A D | printwheels.c | 120 struct stat statbuf; local 139 if (Stat(path, &statbuf) == 0) { 140 if (!S_ISDIR(statbuf.st_mode)) {
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | movedir.c | 58 struct stat statbuf; local 85 if (stat(from, &statbuf) == 0) { 86 chmod(to, statbuf.st_mode); 87 times.actime = statbuf.st_atime; 88 times.modtime = statbuf.st_mtime;
|
H A D | userdel.c | 73 struct stat statbuf; local 157 if (stat(pstruct->pw_dir, &statbuf)) { 163 if (check_perm(statbuf, pstruct->pw_uid, pstruct->pw_gid,
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | unix.c | 62 struct stat statbuf; local 64 if (stat(filename, &statbuf) == 0) { 65 *status = statbuf.st_mode; 75 struct stat statbuf; local 80 statbuf.st_size = -1; 81 if (fstat(fileno(ff->f), &statbuf) != 0) 84 return (statbuf.st_size);
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_reparse.c | 47 struct stat statbuf; local 51 if (lstat(path, &statbuf) != 0) { 59 if ((statbuf.st_mode & S_IFMT) != S_IFLNK) {
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | direader.c | 299 struct stat statbuf; /* The file-statistics return buffer */ local 303 if(stat(pathname, &statbuf) < 0) 308 return S_ISDIR(statbuf.st_mode) != 0;
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | tempnam.c | 59 struct stat64 statbuf; local 66 if (stat64(dir, &statbuf) == 0 && S_ISDIR(statbuf.st_mode))
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | dowait.c | 503 struct stat statbuf; local 509 Stat(file, &statbuf) == 0 510 && statbuf.st_size 518 if ((buf = Malloc(statbuf.st_size + 1))) 519 if ((n = Read(fd, buf, statbuf.st_size)) > 0) {
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_tab.c | 257 struct stat statbuf; local 268 if (fstat(fd, &statbuf) != 0) { 276 tabp->total = statbuf.st_size + 2; /* terminating "\n\0" */ 282 while (sofar < statbuf.st_size) {
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_dli.c | 92 struct stat statbuf; local 100 if (stat(dlipath_dir, &statbuf) < 0) {
|
/illumos-gate/usr/src/cmd/saf/ |
H A D | admutil.c | 280 struct stat statbuf; /* file status info */ local 287 if (stat(script, &statbuf) < 0) { 292 if ((statbuf.st_mode & S_IFMT) != S_IFREG) {
|
/illumos-gate/usr/src/cmd/cmd-crypto/kmfcfg/ |
H A D | install.c | 53 struct stat statbuf; local 166 if (stat(realpath, &statbuf) != 0) {
|
H A D | list.c | 180 struct stat statbuf; local 193 if (stat(LIB_NSS_PATH, &statbuf) == 0 && 194 stat(LIB_NSPR_PATH, &statbuf) == 0) {
|
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_main.c | 214 struct stat64 statbuf; local 220 if (stat64(dir, &statbuf) < 0) { 229 } else if ((statbuf.st_mode & S_IFMT) != S_IFDIR) {
|