/illumos-gate/usr/src/cmd/mail/ |
H A D | cksaved.c | 51 struct stat stbuf; local 61 if ((stat(save, &stbuf) != 0) || (stbuf.st_size == 0)) 70 if (stat(mail, &stbuf) != 0) {
|
H A D | copyback.c | 47 struct stat stbuf; local 54 stat(mailfile, &stbuf); 55 mailmode = stbuf.st_mode; 60 if (stbuf.st_size != let[nlet].adr) { 80 let[++nlet].adr = stbuf.st_size; 92 if ((stbuf.st_uid != my_euid) && (stbuf.st_uid != my_uid)) { 170 delempty(stbuf.st_mode, mailfile);
|
H A D | printmail.c | 45 struct stat stbuf; local 52 stbufp = &stbuf; 136 else if ((malf == NULL) || (stbuf.st_size == 0)) {
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | _findbuf.c | 60 struct stat64 stbuf; /* used to get file system block size */ local 85 if (fstat64(fd, &stbuf) == 0 && stbuf.st_blksize > 0) 86 size = stbuf.st_blksize;
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | copylist.c | 83 struct stat64 stbuf; local 86 if (stat64(filenm, &stbuf) == -1) { 89 *szptr = stbuf.st_size; 91 return (common_copylist(filenm, stbuf.st_size)); 99 struct stat64 stbuf; local 102 if (stat64(filenm, &stbuf) == -1) { 106 if (stbuf.st_size > LONG_MAX) { 111 *szptr = (off_t)stbuf.st_size; 113 return (common_copylist(filenm, stbuf.st_size));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/ |
H A D | process.c | 187 struct stat stbuf; local 215 if (fstat(tfd, &stbuf) < 0 || 216 (stbuf.st_mode&020) == 0) {
|
H A D | announce.c | 127 struct stat stbuf; local 154 if (fstat(fd, &stbuf) < 0 || stbuf.st_uid != p->pw_uid) { 159 if ((stbuf.st_mode&020) == 0) {
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | accton.c | 80 struct stat stbuf; local 81 struct stat *s = &stbuf;
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | mconnect.c | 69 struct stat stbuf; local 88 Again: if (stat(path, &stbuf) == -1) 90 if ((stbuf.st_mode & S_IFMT) != S_IFIFO) {
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | smb_dev.c | 66 caddr_t stbuf, bios, p, q; local 102 stbuf = smb_alloc(ep->smbe_stlen); 103 bcopy(bios, stbuf, ep->smbe_stlen); 105 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, &err); 108 smb_free(stbuf, ep->smbe_stlen);
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_utils.c | 66 struct stat stbuf; local 70 if (stat(QOP_NUM_FILE, &stbuf) != 0 || stbuf.st_mtime < last) { 76 last = stbuf.st_mtime;
|
/illumos-gate/usr/src/cmd/streams/log/ |
H A D | strclean.c | 60 struct stat stbuf; local 102 if ((stat(logname, &stbuf) < 0) || !(stbuf.st_mode & DIRECTORY)) {
|
/illumos-gate/usr/src/cmd/tcpd/ |
H A D | scaffold.c | 195 struct stat stbuf; local 210 (void) check_path(buf[0] ? buf : "/", &stbuf);
|
/illumos-gate/usr/src/lib/libsmbios/common/ |
H A D | smb_lib.c | 57 void *stbuf; local 70 if ((stbuf = smb_alloc(ep->smbe_stlen)) == NULL) 73 if ((n = pread64(fd, stbuf, ep->smbe_stlen, 75 smb_free(stbuf, ep->smbe_stlen); 79 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, errp); 84 smb_free(stbuf, ep->smbe_stlen); 95 void *stbuf, *bios, *p, *q; local 130 if ((stbuf = smb_alloc(ep->smbe_stlen)) == NULL) { 135 bcopy((char *)bios + pgoff, stbuf, ep->smbe_stlen); 137 shp = smbios_bufopen(ep, stbuf, e [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_sym.c | 68 static char *stbuf = NULL; /* symbol and string table buffer */ variable 69 static int stbufsize = 0; /* size of stbuf */ 70 static int stoffset; /* offset of string table in stbuf */ 71 static int nsyms; /* number of symbols in stbuf */ 179 if (stbuf) 180 free(stbuf); 182 if ((stbuf = (char*)malloc(size)) == NULL) 192 read(fd, stbuf, sh[i].sh_size) != sh[i].sh_size || 195 read(fd, stbuf + sh[i].sh_size, sh[sh[i].sh_link].sh_size) != 272 s = (Elf_Sym*)stbuf; [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 228 struct stat stbuf; local 266 if (fstat(fd, &stbuf) == -1) { 272 filesize = size = stbuf.st_size;
|
/illumos-gate/usr/src/cmd/picl/plugins/common/piclevent/ |
H A D | piclevent.c | 184 struct stat stbuf; local 195 if (stat(PICLEVENT_DOOR, &stbuf) < 0) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | trace.c | 85 struct stat stbuf; local 89 if (stat(file, &stbuf) >= 0 && (stbuf.st_mode & S_IFMT) != S_IFREG)
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | safefile.c | 59 struct stat stbuf; local 205 if (stat(dir, &stbuf) >= 0) 210 if (stbuf.st_uid == uid) 213 else if (uid == 0 && stbuf.st_uid == TrustedUid) 219 if (stbuf.st_gid == gid) 225 gr->gr_gid == stbuf.st_gid) || 226 (gr = getgrgid(stbuf.st_gid)) != NULL)) 240 if ((stbuf.st_mode & md) != md) 247 dir, (int) stbuf.st_uid, 248 (unsigned long) stbuf 410 struct stat stbuf; local [all...] |
/illumos-gate/usr/src/cmd/bnu/ |
H A D | anlwrk.c | 85 struct stat stbuf; local 108 (void) fstat(fileno(fp), &stbuf); local 109 Nstat.t_qtime = stbuf.st_mtime;
|
/illumos-gate/usr/src/cmd/boot/fiocompress/ |
H A D | fiocompress.c | 130 struct stat stbuf; local 141 if (fstat(fd, &stbuf) == -1) { 146 srclen = stbuf.st_size;
|
/illumos-gate/usr/src/cmd/chgrp/ |
H A D | chgrp.c | 66 static struct stat stbuf; variable in typeref:struct:stat 236 if (lstat(argv[c], &stbuf) < 0) { 240 if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFLNK)) { 318 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) { 323 if (add_tnode(&tree, stbuf.st_dev, 324 stbuf.st_ino) == 1) { 329 stbuf.st_mode & ~S_IFMT); 348 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) { 350 stbuf.st_mode & ~S_IFMT);
|
/illumos-gate/usr/src/cmd/chown/ |
H A D | chown.c | 61 static struct stat stbuf; variable in typeref:struct:stat 267 if (lstat(argv[c], &stbuf) < 0) { 271 if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFLNK)) { 336 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) { 341 if (add_tnode(&tree, stbuf.st_dev, 342 stbuf.st_ino) == 1) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_resolve.c | 76 struct stat stbuf; local 80 if (stat(nconf->nc_device, &stbuf) < 0) { 107 k->knc_rdev = stbuf.st_rdev;
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | update.c | 87 struct stat stbuf; local 95 if (stat(MAKE, &stbuf) < 0)
|