HomeSort by relevance Sort by last modified time
    Searched defs:statb (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
remove.c 41 struct stat64 statb; local
48 if (lstat64(filename, &statb) != 0)
50 if ((statb.st_mode & S_IFMT) != S_IFDIR)
posix_fadvise.c 51 struct stat64 statb; local
66 if (fstat64(fd, &statb) != 0)
68 if (S_ISFIFO(statb.st_mode))
79 struct stat64 statb; local
94 if (fstat64(fd, &statb) != 0)
96 if (S_ISFIFO(statb.st_mode))
posix_fallocate.c 41 struct stat64 statb; local
44 if (fstat64(fd, &statb) != 0) /* can't happen? */
46 else if (S_ISFIFO(statb.st_mode)) /* pipe or FIFO */
48 else if (!S_ISREG(statb.st_mode)) /* not a regular file */
getauxv.c 62 struct stat statb; local
67 fstat(fd, &statb) != -1)
69 statb.st_size + sizeof (auxv_t));
72 i = read(fd, buf, statb.st_size);
getusershell.c 119 struct stat statb; local
141 if ((fstat(fileno(fp), &statb) == -1) || (statb.st_size > LONG_MAX) ||
142 ((strings = malloc((size_t)statb.st_size + 1)) == NULL)) {
146 shells = calloc((size_t)statb.st_size / 3, sizeof (char *));
getvfsent.c 62 (vgetp->xx == NULL || stat64(vgetp->xx, &statb) == -1 ||\
63 (statb.st_mode & S_IFMT) != typem ||\
64 statb.st_rdev != typer)
77 struct stat64 statb; local
80 if (special && stat64(special, &statb) == 0 &&
81 ((bmode = (statb.st_mode & S_IFMT)) == S_IFBLK ||
84 brdev = statb.st_rdev;
94 stat64(vgetp->vfs_special, &statb) == -1 ||
95 (statb.st_mode & S_IFMT) != bmode ||
96 statb.st_rdev != brdev)))
117 struct stat64 statb; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mail/
islocal.c 42 struct stat statb; local
47 if (stat(fname, &statb) == 0) {
48 *puid = statb.st_uid;
main.c 47 struct stat statb; local
  /onnv/onnv-gate/usr/src/lib/libproc/common/
Pisprocdir.c 41 struct stat statb; local
52 * We can't compare the statb.st_fstype string to "proc" because
56 return (stat(path, &statb) == 0 &&
58 (statb.st_mode & S_IFMT) == S_IFDIR &&
59 statb.st_ino == 2 &&
proc_get_info.c 78 struct stat statb; local
84 if (fstat(fd, &statb) != 0 ||
85 (rv = malloc(statb.st_size)) == NULL ||
86 read(fd, rv, statb.st_size) != statb.st_size) {
107 struct stat statb; local
118 if (fstat(fd, &statb) == 0)
119 nldt = statb.st_size / sizeof (struct ssd);
  /onnv/onnv-gate/usr/src/cmd/sgs/libldmake/common/
lock.c 94 struct stat statb; local
115 r = lstat(lockname, &statb);
151 if (statb.st_mtime + timeout < fs_statb.st_mtime) {
  /onnv/onnv-gate/usr/src/cmd/ptools/pmap/
pmap_common.c 67 struct stat statb; local
99 if (stat(path, &statb) == 0) {
100 dev_t dev = statb.st_dev;
101 ino_t ino = statb.st_ino;
  /onnv/onnv-gate/usr/src/lib/libbc/libc/gen/common/
getusershell.c 70 struct stat statb; local
80 if (fstat(fileno(fp), &statb) == -1) {
84 if ((strings = malloc((unsigned)statb.st_size + 1)) == NULL) {
88 shells = (char **)calloc((unsigned)statb.st_size / 3, sizeof (char *));
  /onnv/onnv-gate/usr/src/lib/libcmd/common/
wc.c 97 struct stat statb; local
165 if (!(mode&(WC_WORDS|WC_LINES|WC_MBYTE|WC_LONGEST)) && fstat(sffileno(fp),&statb)>=0
166 && S_ISREG(statb.st_mode))
168 wp->chars = statb.st_size - lseek(sffileno(fp),0L,1);
  /onnv/onnv-gate/usr/src/cmd/mailx/
edit.c 103 struct stat statb; local
167 if (stat(tempZedit, &statb) < 0)
170 modtime = statb.st_mtime;
205 if (stat(tempZedit, &statb) < 0) {
209 if (modtime == statb.st_mtime) {
  /onnv/onnv-gate/usr/src/cmd/sh/
test.c 156 struct stat statb; local
158 return(stat((char *)nxtarg(0), &statb) >= 0 &&
159 (statb.st_mode & S_IFMT) != S_IFDIR);
227 struct stat statb; local
229 if (stat((char *)f, &statb) < 0)
231 if ((statb.st_mode & field) == field)
239 struct stat statb; local
242 if ((*statf)(f, &statb) < 0)
244 if ((statb.st_mode & S_IFMT) == field)
254 struct stat statb; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/libbc/libc/stdio/4.2/
flsbuf.c 230 struct stat statb; local
243 if (fstat(fno, &statb) < 0)
246 if ((size = statb.st_blksize) <= 0)
  /onnv/onnv-gate/usr/src/lib/libbc/libc/stdio/sys5/
flsbuf.c 235 struct stat statb; local
248 if (fstat(fno, &statb) < 0)
251 if ((size = statb.st_blksize) <= 0)
  /onnv/onnv-gate/usr/src/lib/libshell/common/sh/
shcomp.c 112 struct stat statb; local
115 if(fstat(sffileno(out),&statb) >=0)
116 chmod(cp,(statb.st_mode&~S_IFMT)|S_IXUSR|S_IXGRP|S_IXOTH);
  /onnv/onnv-gate/usr/src/cmd/truss/
xstat.c 74 struct o_stat statb; local
78 Pread(Proc, &statb, sizeof (statb), offset) == sizeof (statb)) {
82 statb.st_dev & 0xffff,
83 statb.st_ino,
84 statb.st_mode,
85 statb.st_nlink % 0xffff,
86 statb.st_uid,
87 statb.st_gid)
174 struct stat32 statb; local
219 struct stat64_32 statb; local
264 struct stat64 statb; local
    [all...]
  /onnv/onnv-gate/usr/src/ucbcmd/test/
test.c 155 struct stat statb; local
157 return (stat(nxtarg(0), &statb) >= 0 &&
158 (statb.st_mode & S_IFMT) != S_IFDIR);
243 struct stat statb; local
245 if (stat(f, &statb) < 0)
247 if ((statb.st_mode & field) == field)
255 struct stat statb; local
258 if (lstat(f, &statb) < 0)
261 if (stat(f, &statb) < 0)
264 if ((statb.st_mode & S_IFMT) == field
273 struct stat statb; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/acct/
acctdusg.c 213 struct stat statb; local
217 if (lstat(n, &statb) == -1)
223 if (statb.st_nlink > 1) {
224 switch (add_tnode(&tree, statb.st_dev, statb.st_ino)) {
240 if (S_ISCHR(statb.st_mode) || S_ISBLK(statb.st_mode))
241 statb.st_blocks = 0;
248 if ((entry = hash_find(statb.st_uid)) == NULL) {
250 pw = getpwuid(statb.st_uid)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/fmli/sys/
test.c 268 struct stat statb; local
270 if (stat(f, &statb) < 0)
272 if ((statb.st_mode & field) == field)
282 struct stat statb; local
284 if (stat(f, &statb) < 0)
286 if ((statb.st_mode & S_IFMT) == field)
298 struct stat statb; local
300 if (stat(f, &statb) < 0)
302 return(statb.st_size > 0);
  /onnv/onnv-gate/usr/src/lib/efcode/fcdriver/
load_node.c 70 struct stat statb; local
156 struct stat statb; local
169 if (fstat(fd, &statb) != 0 || read(fd, header, sizeof (header)) < 0) {
175 status = check_fcode_header(path, header, statb.st_size);
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
rc_io.c 547 struct stat statb; local
549 if (fstat(d->fd, &statb) == 0)
550 return statb.st_size;

Completed in 850 milliseconds

1 2 3 4