/src/libexec/talkd/ |
announce.c | 74 struct stat stbuf; local in function:announce 78 if (stat(full_tty, &stbuf) < 0 || (stbuf.st_mode&S_IWGRP) == 0)
|
announce.c | 74 struct stat stbuf; local in function:announce 78 if (stat(full_tty, &stbuf) < 0 || (stbuf.st_mode&S_IWGRP) == 0)
|
/src/usr.sbin/tcpdchk/ |
scaffold.c | 144 struct stat stbuf; local in function:check_path 160 (void) check_path(buf[0] ? buf : "/", &stbuf);
|
scaffold.c | 144 struct stat stbuf; local in function:check_path 160 (void) check_path(buf[0] ? buf : "/", &stbuf);
|
/src/bin/ksh/ |
mail.c | 52 struct stat stbuf; local in function:mcheck 68 if (mbp->mb_path && stat(mbp->mb_path, &stbuf) == 0 69 && S_ISREG(stbuf.st_mode)) 71 if (stbuf.st_size 72 && mbp->mb_mtime != stbuf.st_mtime 73 && stbuf.st_atime <= stbuf.st_mtime) 75 mbp->mb_mtime = stbuf.st_mtime; 101 struct stat stbuf; local in function:mbset 110 if (p && stat(p, &stbuf) == 0 && S_ISREG(stbuf.st_mode) 176 struct stat stbuf; local in function:mballoc [all...] |
mail.c | 52 struct stat stbuf; local in function:mcheck 68 if (mbp->mb_path && stat(mbp->mb_path, &stbuf) == 0 69 && S_ISREG(stbuf.st_mode)) 71 if (stbuf.st_size 72 && mbp->mb_mtime != stbuf.st_mtime 73 && stbuf.st_atime <= stbuf.st_mtime) 75 mbp->mb_mtime = stbuf.st_mtime; 101 struct stat stbuf; local in function:mbset 110 if (p && stat(p, &stbuf) == 0 && S_ISREG(stbuf.st_mode) 176 struct stat stbuf; local in function:mballoc [all...] |
/src/sbin/badsect/ |
badsect.c | 99 struct stat stbuf, devstat; local in function:main 114 if (stat(".", &stbuf) == -1) 125 if (stbuf.st_dev == devstat.st_rdev && 132 (long long)stbuf.st_rdev, argv[1]);
|
badsect.c | 99 struct stat stbuf, devstat; local in function:main 114 if (stat(".", &stbuf) == -1) 125 if (stbuf.st_dev == devstat.st_rdev && 132 (long long)stbuf.st_rdev, argv[1]);
|
/src/usr.sbin/lpr/lpc/ |
cmds.c | 125 struct stat stbuf; local in function:abortpr 136 if (stat(line, &stbuf) >= 0) { 137 if (chmod(line, (stbuf.st_mode & 0777) | 0100) < 0) 399 struct stat stbuf; local in function:enablepr 408 if (stat(line, &stbuf) >= 0) { 409 if (chmod(line, stbuf.st_mode & 0767) < 0) 456 struct stat stbuf; local in function:disablepr 464 if (stat(line, &stbuf) >= 0) { 465 if (chmod(line, (stbuf.st_mode & 0777) | 010) < 0) 531 struct stat stbuf; local in function:putmsg 671 struct stat stbuf; local in function:startpr 730 struct stat stbuf; local in function:prstat 824 struct stat stbuf; local in function:stoppr 864 struct stat stbuf; local in function:topq [all...] |
cmds.c | 125 struct stat stbuf; local in function:abortpr 136 if (stat(line, &stbuf) >= 0) { 137 if (chmod(line, (stbuf.st_mode & 0777) | 0100) < 0) 399 struct stat stbuf; local in function:enablepr 408 if (stat(line, &stbuf) >= 0) { 409 if (chmod(line, stbuf.st_mode & 0767) < 0) 456 struct stat stbuf; local in function:disablepr 464 if (stat(line, &stbuf) >= 0) { 465 if (chmod(line, (stbuf.st_mode & 0777) | 010) < 0) 531 struct stat stbuf; local in function:putmsg 671 struct stat stbuf; local in function:startpr 730 struct stat stbuf; local in function:prstat 824 struct stat stbuf; local in function:stoppr 864 struct stat stbuf; local in function:topq [all...] |
/src/usr.sbin/makefs/cd9660/ |
cd9660_eltorito.c | 68 struct stat stbuf; local in function:cd9660_add_boot_disk 128 if (lstat(new_image->filename, &stbuf) == -1) 132 switch (stbuf.st_size) { 154 new_image->size = stbuf.st_size;
|
cd9660_eltorito.c | 68 struct stat stbuf; local in function:cd9660_add_boot_disk 128 if (lstat(new_image->filename, &stbuf) == -1) 132 switch (stbuf.st_size) { 154 new_image->size = stbuf.st_size;
|
/src/sbin/restore/ |
symtab.c | 543 struct stat stbuf; local in function:initsymtable 562 if (fstat(fd, &stbuf) < 0) { 566 tblsize = stbuf.st_size - sizeof(struct symtableheader);
|
symtab.c | 543 struct stat stbuf; local in function:initsymtable 562 if (fstat(fd, &stbuf) < 0) { 566 tblsize = stbuf.st_size - sizeof(struct symtableheader);
|
/src/bin/df/ |
df.c | 97 struct stat stbuf; local in function:main 213 if (stat(*argv, &stbuf) < 0) { 219 } else if (S_ISBLK(stbuf.st_mode)) {
|
df.c | 97 struct stat stbuf; local in function:main 213 if (stat(*argv, &stbuf) < 0) { 219 } else if (S_ISBLK(stbuf.st_mode)) {
|
/src/usr.sbin/makefs/ |
walk.c | 204 struct stat stbuf; local in function:walk_dir 250 if (stat(path, &stbuf) == -1) 253 if (lstat(path, &stbuf) == -1) 260 if (S_ISLNK(stbuf.st_mode)) { 261 stbuf.st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO); 262 stbuf.st_mode |= S_IRWXU 268 if (S_ISSOCK(stbuf.st_mode & S_IFMT)) { 277 if (fsnode_join(&cur, join, last, path, name, &stbuf, 295 cur = create_fsnode(root, dir, name, &stbuf); 317 if (stbuf.st_nlink > 1) 549 struct stat stbuf; local in function:apply_specdir [all...] |
walk.c | 204 struct stat stbuf; local in function:walk_dir 250 if (stat(path, &stbuf) == -1) 253 if (lstat(path, &stbuf) == -1) 260 if (S_ISLNK(stbuf.st_mode)) { 261 stbuf.st_mode &= ~(S_IRWXU | S_IRWXG | S_IRWXO); 262 stbuf.st_mode |= S_IRWXU 268 if (S_ISSOCK(stbuf.st_mode & S_IFMT)) { 277 if (fsnode_join(&cur, join, last, path, name, &stbuf, 295 cur = create_fsnode(root, dir, name, &stbuf); 317 if (stbuf.st_nlink > 1) 549 struct stat stbuf; local in function:apply_specdir [all...] |
/src/bin/csh/ |
exec.c | 571 struct stat stbuf; local in function:executable 591 return (stat(strname, &stbuf) != -1 && ((S_ISREG(stbuf.st_mode) && 593 (stbuf.st_mode & (S_IXOTH | S_IXGRP | S_IXUSR)) && 594 access(strname, X_OK) == 0) || (dir_ok && S_ISDIR(stbuf.st_mode))));
|
exec.c | 571 struct stat stbuf; local in function:executable 591 return (stat(strname, &stbuf) != -1 && ((S_ISREG(stbuf.st_mode) && 593 (stbuf.st_mode & (S_IXOTH | S_IXGRP | S_IXUSR)) && 594 access(strname, X_OK) == 0) || (dir_ok && S_ISDIR(stbuf.st_mode))));
|
/src/games/larn/ |
scores.c | 764 struct stat stbuf; local in function:diedlog 772 if (fstat(io_infd, &stbuf) < 0) { 776 for (n = stbuf.st_size / sizeof(struct log_fmt); n > 0; --n) {
|
scores.c | 764 struct stat stbuf; local in function:diedlog 772 if (fstat(io_infd, &stbuf) < 0) { 776 for (n = stbuf.st_size / sizeof(struct log_fmt); n > 0; --n) {
|
/src/sbin/routed/ |
trace.c | 304 struct stat stbuf; local in function:set_tracefile 339 || 0 > stat(_PATH_TRACE, &stbuf)) 348 if (stat(filename, &stbuf) >= 0 && !S_ISREG(stbuf.st_mode)) { 350 stbuf.st_mode, filename);
|
/src/usr.bin/vgrind/ |
vfontedpr.c | 137 struct stat stbuf; local in function:main 308 fstat(fileno(stdin), &stbuf); 309 cp = ctime(&stbuf.st_mtime);
|
/src/lib/libedit/ |
filecomplete.c | 449 struct stat stbuf; local in function:append_char_function 453 if (stat(expname ? expname : name, &stbuf) == -1) 455 if (S_ISDIR(stbuf.st_mode))
|