| /onnv/onnv-gate/usr/src/cmd/lp/lib/forms/ |
| putform.c | 55 struct stat statbuf; local 74 if (Stat(path, &statbuf) == 0) { 75 if (!S_ISDIR(statbuf.st_mode)) {
|
| /onnv/onnv-gate/usr/src/cmd/lp/lib/lp/ |
| next.c | 112 struct stat statbuf; local 116 if (Stat(path, &statbuf) == -1) { 121 return ((statbuf.st_mode & S_IFMT) == what);
|
| /onnv/onnv-gate/usr/src/cmd/oamuser/user/ |
| movedir.c | 59 struct stat statbuf; local 86 if (stat(from, &statbuf) == 0) { 87 chmod(to, statbuf.st_mode); 88 times.actime = statbuf.st_atime; 89 times.modtime = statbuf.st_mtime;
|
| userdel.c | 72 struct stat statbuf; local 156 if( stat( pstruct->pw_dir, &statbuf ) ) { 162 if( check_perm( statbuf, pstruct->pw_uid, pstruct->pw_gid,
|
| /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/ |
| open.c | 50 struct stat64 statbuf; local 113 if (fstat64(fd, &statbuf) < 0) { 118 } else if (!S_ISDIR(statbuf.st_mode)) {
|
| iovec.c | 107 struct stat64 statbuf; local 115 } else if ((ret = fstat64(fd, &statbuf)) == 0) { 116 ret = pwrite64(fd, buf, nbyte, statbuf.st_size);
|
| /onnv/onnv-gate/usr/src/cmd/lp/lib/printers/ |
| printwheels.c | 120 struct stat statbuf; local 139 if (Stat(path, &statbuf) == 0) { 140 if (!S_ISDIR(statbuf.st_mode)) {
|
| /onnv/onnv-gate/usr/src/lib/libcryptoutil/common/ |
| 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;
|
| /onnv/onnv-gate/usr/src/lib/libcurses/screen/ |
| 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),
|
| /onnv/onnv-gate/usr/src/cmd/svr4pkg/pkginstall/ |
| predepend.c | 57 struct stat statbuf; local 74 if (lstat(spath, &statbuf) == 0) { 76 if (statbuf.st_mode & S_IFLNK) {
|
| /onnv/onnv-gate/usr/src/cmd/srptsvc/ |
| srptsvc.c | 52 struct stat statbuf; local 79 if ((stat("/devices/ib", &statbuf)) != 0) {
|
| /onnv/onnv-gate/usr/src/cmd/fmli/sys/ |
| readfile.c | 53 struct stat statbuf; local 57 if ((fp = fopen(file, "r")) == NULL || fstat(fileno(fp), &statbuf) < 0) { 62 if ((text = malloc(bufsize = statbuf.st_size + PADNUM + 1)) == NULL)
|
| /onnv/onnv-gate/usr/src/cmd/ypcmd/ |
| 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)
|
| /onnv/onnv-gate/usr/src/lib/libc/port/stdio/ |
| tempnam.c | 59 struct stat64 statbuf; local 66 if (stat64(dir, &statbuf) == 0 && S_ISDIR(statbuf.st_mode))
|
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/bsd/ |
| writev.c | 23 struct stat statbuf; local 25 if (fstat(fd, &statbuf) < 0) 31 if (statbuf.st_mode & S_IFSOCK) {
|
| /onnv/onnv-gate/usr/src/cmd/cmd-crypto/kmfcfg/ |
| install.c | 53 struct stat statbuf; local 166 if (stat(realpath, &statbuf) != 0) {
|
| list.c | 172 struct stat statbuf; local 185 if (stat(LIB_NSS_PATH, &statbuf) == 0 && 186 stat(LIB_NSPR_PATH, &statbuf) == 0) {
|
| /onnv/onnv-gate/usr/src/cmd/lp/cmd/lpsched/ |
| 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) {
|
| /onnv/onnv-gate/usr/src/cmd/saf/ |
| 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) {
|
| /onnv/onnv-gate/usr/src/cmd/tic/ |
| tic_main.c | 214 struct stat64 statbuf; local 220 if (stat64(dir, &statbuf) < 0) { 229 } else if ((statbuf.st_mode & S_IFMT) != S_IFDIR) {
|
| /onnv/onnv-gate/usr/src/cmd/ttymon/ |
| tmutil.c | 60 struct stat statbuf; local 71 if (stat(device,&statbuf) < 0) { 75 if ((statbuf.st_mode & S_IFMT) != S_IFCHR) { 96 struct stat statbuf; local 111 if (stat(tp,&statbuf) < 0) { 115 if (!(statbuf.st_mode & 0111)) { 119 if ((statbuf.st_mode & S_IFMT) != S_IFREG) {
|
| /onnv/onnv-gate/usr/src/lib/libdevinfo/ |
| devinfo_dli.c | 92 struct stat statbuf; local 100 if (stat(dlipath_dir, &statbuf) < 0) {
|
| /onnv/onnv-gate/usr/src/lib/libtecla/common/ |
| 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;
|
| /onnv/onnv-gate/usr/src/lib/mms/mms/common/ |
| net_cfg.c | 204 struct stat statbuf; local 216 if (fstat(fd, &statbuf)) { 222 if ((buf = (char *)malloc(statbuf.st_size + 1)) == NULL) { 230 if ((rc = read(fd, buf, statbuf.st_size)) < 0) {
|
| /onnv/onnv-gate/usr/src/cmd/tnf/prex/ |
| source.c | 85 struct stat statbuf; local 108 retval = stat(PREXRC, &statbuf); 118 retval = stat(path, &statbuf);
|