/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/execute/ |
H A D | u77-test.f | 60 integer fstatb (13), statb (13) variable 308 i = stat ('foo', statb) 313 write (6,*) ' with stat array ', statb 314 if (statb(6) .ne. getgid ()) then 317 if (statb(5) .ne. getuid () .or. statb(4) .ne. 1) then 322 if (fstatb (i) .ne. statb (i)) then 324 + array element ', i, ' value ', fstatb (i), statb (i) 330 if (fstatb (i) .ne. statb (i)) then 332 + 'array element ', i, ' value ', fstatb (i), statb ( [all...] |
/openbsd-current/games/boggle/boggle/ |
H A D | word.c | 126 struct stat statb; local 131 if (fstat(fileno(fp), &statb) < 0) { 140 if ((dictspace = malloc(statb.st_size + 1)) == NULL) { 144 n = (long)statb.st_size;
|
/openbsd-current/libexec/login_token/ |
H A D | tokendb.c | 167 struct stat statb; local 179 if (stat(tt->db, &statb) == -1) { 184 if (statb.st_uid != 0 || statb.st_gid != grp->gr_gid) { 190 "Group was %u", tt->db, statb.st_uid, statb.st_gid); 196 if ((statb.st_mode & 0777) != 0640) { 202 tt->db, statb.st_mode);
|
/openbsd-current/libexec/talkd/ |
H A D | process.c | 211 struct stat statb; local 217 if (stat(ftty, &statb) == 0) { 218 if (!(statb.st_mode & S_IWGRP)) { 221 } else if (now - statb.st_atime < idle) { 222 idle = now - statb.st_atime;
|
/openbsd-current/usr.bin/mail/ |
H A D | edit.c | 154 struct stat statb; local 175 if (fstat(fileno(nf), &statb) == -1) 178 modtime = statb.st_mtime; 214 if (stat(tempname, &statb) == -1) { 218 if (modtime == statb.st_mtime) {
|
H A D | quit.c | 394 struct stat statb; local 411 if (stat(mailname, &statb) >= 0 && statb.st_size > mailsize) {
|
/openbsd-current/usr.sbin/rbootd/ |
H A D | parseconf.c | 294 struct stat statb; local 323 if (stat(dp->d_name, &statb) == -1 || 324 (statb.st_mode & S_IFMT) != S_IFREG)
|
/openbsd-current/gnu/usr.bin/perl/ |
H A D | unixish.h | 127 int afstat(int fd, struct stat *statb);
|
/openbsd-current/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 89 static struct stat statb; variable in typeref:struct:stat 331 statb.st_dev, (unsigned long long)statb.st_ino); 572 if (fstat(fd, &statb) < 0) { 576 if (S_ISDIR(statb.st_mode)) { 580 if (!S_ISREG(statb.st_mode)) { 584 if (statb.st_size == 0) {
|
/openbsd-current/bin/csh/ |
H A D | file.c | 442 struct stat statb; local 446 if (lstat(short2str(path), &statb) == 0) { 447 switch (statb.st_mode & S_IFMT) { 452 if (stat(short2str(path), &statb) == 0 && /* follow it out */ 453 S_ISDIR(statb.st_mode)) 462 if (statb.st_mode & 0111)
|
/openbsd-current/sys/arch/hppa/stand/mkboot/ |
H A D | mkboot.c | 353 struct stat statb; local 356 stat(file, &statb); 357 tm = localtime(&statb.st_ctime);
|
/openbsd-current/bin/ksh/ |
H A D | io.c | 223 struct stat statb; local 225 return fstat(fd, &statb) == 0 && !S_ISREG(statb.st_mode) ?
|
H A D | c_test.c | 363 struct stat statb; local 365 if (stat(path, &statb) == -1) 367 else if (S_ISDIR(statb.st_mode)) 370 res = (statb.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)) ?
|
H A D | exec.c | 959 struct stat statb; local 961 if (stat(path, &statb) == -1) 966 else if (mode == X_OK && (!S_ISREG(statb.st_mode) || 967 !(statb.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))) { 970 err = S_ISDIR(statb.st_mode) ? EISDIR : EACCES; 1053 struct stat statb; local 1083 (stat(cp, &statb) == -1 || S_ISREG(statb.st_mode)))
|
H A D | history.c | 244 struct stat statb; local 254 n = fstat(shf->fd, &statb) == -1 ? 128 : 255 statb.st_size + 1;
|
H A D | edit.c | 447 struct stat statb; local 454 if ((lstat(words[0], &statb) == -1) ||
|
H A D | eval.c | 1047 (stat_done = stat(Xstring(*xs, xp), &statb) == -1 \ 1049 struct stat lstatb, statb; local 1061 stat_check() < 0 || !S_ISDIR(statb.st_mode))) 1071 S_ISDIR(statb.st_mode)))) {
|
H A D | var.c | 994 struct stat statb; local 998 stat(s, &statb) == 0 && S_ISDIR(statb.st_mode))
|
/openbsd-current/usr.sbin/lpr/common_source/ |
H A D | displayq.c | 100 struct stat statb; local 148 ret = stat(LO, &statb); 151 if (statb.st_mode & S_IXUSR) { 165 if (statb.st_mode & S_IXGRP) {
|
/openbsd-current/gnu/usr.bin/perl/amigaos4/ |
H A D | amigaos.c | 531 int afstat(int fd, struct stat *statb) argument 540 if ((result = fstat(fd, statb) >= 0)) 624 memzero(statb, sizeof(statb)); 626 statb->st_mode = mode;
|
/openbsd-current/sbin/fsck_ext2fs/ |
H A D | setup.c | 71 struct stat statb; local 79 if (stat(dev, &statb) == -1) { 83 if (!S_ISCHR(statb.st_mode)) {
|
/openbsd-current/sbin/fsck_ffs/ |
H A D | setup.c | 86 struct stat statb; local 115 if (fstat(fsreadfd, &statb) == -1) { 120 if (!S_ISCHR(statb.st_mode)) {
|
/openbsd-current/sys/dev/isa/ |
H A D | if_eg.c | 158 egreadPCBstat(struct eg_softc *sc, u_char statb) argument 170 if ((bus_space_read_1(bst, bsh, EG_STATUS) & EG_PCB_STAT) == statb)
|
/openbsd-current/gnu/usr.bin/cvs/diff/ |
H A D | diff3.c | 274 struct stat statb; 420 if (stat (file[i], &statb) < 0) 425 else if (S_ISDIR(statb.st_mode)) 272 struct stat statb; local
|
/openbsd-current/usr.bin/rdistd/ |
H A D | server.c | 283 removefile(struct stat *statb, int silent) argument 292 switch (statb->st_mode & S_IFMT) {
|