/original-bsd/usr.bin/f77/libU77/ |
H A D | perror_.c | 40 if (errno >=0 && errno < sys_nerr) 41 mesg = strerror(errno); 42 else if (errno >= F_ER && errno < (F_ER + f_nerr)) 43 mesg = f_errlist[errno - F_ER]; 46 sprintf(buf, "%d: unknown error number", errno);
|
H A D | gerror_.c | 37 if (errno >=0 && errno < sys_nerr) 38 mesg = strerror(errno); 39 else if (errno >= F_ER && errno < (F_ER + f_nerr)) 40 mesg = f_errlist[errno - F_ER];
|
H A D | tapeio.c | 80 errno = F_ERUNIT; 89 errno = F_ERARG; 124 errno = F_ERUNIT; 157 errno = F_ERUNIT; 163 errno = F_ERNOPEN; 167 errno = F_ERILLOP; 210 errno = F_ERUNIT; 216 errno = F_ERNOPEN; 220 errno = F_ERILLOP; 258 errno = F_ERUNIT; [all …]
|
H A D | fseek_.c | 36 return((long)(errno=F_ERUNIT)); 38 return((long)(errno=F_ERARG)); 40 return((long)(errno=F_ERNOPEN)); 42 return((long)errno);
|
H A D | access_.c | 39 return((long)(errno=F_ERARG)); 42 return((long)(errno=ENOENT)); 44 return((long)errno); 60 return((long)errno);
|
H A D | fputc_.c | 35 return((long)(errno=F_ERUNIT)); 38 return((long)(errno=F_ERNOPEN)); 40 return((long)errno); 44 i = errno;
|
H A D | chmod_.c | 35 return((long)(errno=F_ERARG)); 39 return((long)(errno=ENOENT)); 41 return((long)(errno=F_ERARG)); 45 return((long)errno);
|
/original-bsd/usr.bin/f77/libU77/test/ |
H A D | ertst.f | 10 character*39 errno 16 write(errno,'("[",i3,"] ",a,":")') ierrno(), gerror() 17 call perror(errno) 22 write(errno,'("[",i3,"] ",a,":")') ierrno(), gerror() 23 call perror(errno)
|
/original-bsd/libexec/mail.local/ |
H A D | mail.local.c | 197 e_to_sys(errno); 217 e_to_sys(errno); 229 e_to_sys(errno); 314 e_to_sys(errno); 333 e_to_sys(errno); 340 e_to_sys(errno); 353 e_to_sys(errno); 358 e_to_sys(errno); 374 e_to_sys(errno); 381 e_to_sys(errno); [all …]
|
/original-bsd/old/np100/ |
H A D | npload.c | 22 extern int errno; 59 argv[0], devname, errno); 68 argv[0],fname,errno); 75 fprintf(stderr,"unable to reset %s errno = %d\n",devname,errno); 82 fprintf(stderr,"seek failed on %s errno = %d.\n",devname,errno); 89 fprintf(stderr,"seek failed on %s errno = %d.\n",fname,errno); 99 argv[0],errno); 107 fprintf(stderr,"Start error on %s errno = %d.\n",devname,errno);
|
/original-bsd/sbin/mount_portal/ |
H A D | mount_portal.c | 56 if (pid < 0 && errno != ECHILD) 57 syslog(LOG_WARNING, "waitpid: %s", strerror(errno)); 119 fprintf(stderr, "mount_portal: socket: %s\n", strerror(errno)); 180 if (errno == EINTR) 182 syslog(LOG_ERR, "select: %s", strerror(errno)); 193 if (errno == ECONNABORTED) 195 if (errno != EINTR) { 196 syslog(LOG_ERR, "accept: %s", strerror(errno)); 208 if (errno == EAGAIN) { 212 syslog(LOG_ERR, "fork: %s", strerror(errno));
|
/original-bsd/usr.bin/wall/ |
H A D | ttymsg.c | 60 if (errno == EBUSY || errno == EACCES) 63 "%s: %s", device, strerror(errno)); 92 if (errno == EWOULDBLOCK) { 102 "fork: %s", strerror(errno)); 123 if (errno == ENODEV || errno == EIO) 129 "%s: %s", device, strerror(errno));
|
/original-bsd/bin/pax/ |
H A D | ar_io.c | 96 syswarn(0, errno, "Failed open to read on %s", name); 103 syswarn(0, errno, "Failed open to write on %s", name); 112 syswarn(0, errno, "Failed open to read/write on %s", 130 syswarn(0, errno, "Failed stat on %s", arcname); 446 syswarn(1, errno, "Unable to truncate archive file"); in ar_set_wr() 635 if ((errno == ENOSPC) || (errno == EFBIG) || (errno == EDQUOT)) 643 if (errno == EACCES) { 652 if ((errno == ENOSPC) || (errno == EIO) || (errno == ENXIO)) 906 syswarn(1, errno, 1136 syswarn(0, errno, "Unable to set signal mask"); in ar_next() [all …]
|
/original-bsd/contrib/libg++-2.3/libg++/g++-include/ |
H A D | errno.h | 6 #include_next <errno.h> 9 #include_next <errno.h> 15 #ifndef errno 16 extern int errno;
|
/original-bsd/games/cribbage/ |
H A D | instr.c | 30 extern int errno; in instructions() 38 strerror(errno)); in instructions() 43 (void)fprintf(stderr, "cribbage: %s.\n", strerror(errno)); in instructions() 52 (void)fprintf(stderr, "cribbage: %s.\n", strerror(errno)); in instructions() 57 } while (pid == -1 && errno == EINTR); in instructions()
|
/original-bsd/usr.bin/mail/ |
H A D | sigretro.c | 91 extern int errno; 94 errno = EINVAL; 141 extern int errno; in sighold() 144 errno = EINVAL; in sighold() 170 extern int errno; in sigrelse() 174 errno = EINVAL; in sigrelse() 213 extern int errno; in sigpause() 216 errno = EINVAL; in sigpause() 248 extern int errno; in sigdisp() 252 errno = EINVAL; in sigdisp() [all …]
|
/original-bsd/contrib/usr.x25/lib/ |
H A D | x25err.c | 3 extern int errno, sys_nerr; 13 switch(errno) { 75 ep = errno >= 0 && errno < sys_nerr ? 76 sys_errlist[errno] : "Unknown error";
|
/original-bsd/lib/libc/gen/ |
H A D | exec.c | 84 sverrno = errno; 86 errno = sverrno; 112 sverrno = errno; 114 errno = sverrno; 140 sverrno = errno; 142 errno = sverrno; 210 switch(errno) { 239 errno = EACCES; 240 else if (!errno) 241 errno = ENOENT;
|
/original-bsd/sys/hp300/stand/ |
H A D | sys.c | 252 errno = EBADF; 275 errno = EBADF; 314 int errno; variable 325 errno = 0; 336 errno = EBADF; 340 errno = EBADF; 402 errno = 0; 412 errno = EBADF; 481 errno = EDEV; 525 errno = EDEV; [all …]
|
/original-bsd/sys/luna68k/stand/ |
H A D | sys.c | 251 errno = EBADF; 274 errno = EBADF; 313 int errno; variable 324 errno = 0; 335 errno = EBADF; 339 errno = EBADF; 398 errno = 0; 408 errno = EBADF; 412 errno = EBADF; 460 errno = EDEV; [all …]
|
/original-bsd/usr.bin/uucp/acucntrl/ |
H A D | acucntrl.c | 144 extern int errno; 193 Devhome, sys_errlist[errno]); 263 device, sys_errlist[errno]); 270 sys_errlist[errno]); 275 device, sys_errlist[errno]); 280 device, sys_errlist[errno]); 400 sys_errlist[errno]); 441 sys_errlist[errno]); 448 sys_errlist[errno]); 573 sys_errlist[errno]); [all …]
|
/original-bsd/sys/i386/stand/ |
H A D | sys.c | 260 errno = EBADF; 277 errno = 0 ; 283 errno = EBADF; 344 int errno; variable 355 errno = 0; 366 errno = EBADF; 370 errno = EBADF; 442 errno = 0; 452 errno = EBADF; 456 errno = EBADF; [all …]
|
/original-bsd/sys/tahoe/stand/ |
H A D | sys.c | 256 errno = EBADF; 279 errno = EBADF; 318 int errno; variable 329 errno = 0; 340 errno = EBADF; 344 errno = EBADF; 407 errno = 0; 417 errno = EBADF; 421 errno = EBADF; 544 errno = EIO; [all …]
|
/original-bsd/usr.bin/f77/libI77/ |
H A D | f77_abort.c | 23 extern int errno; 49 if( nargs() ) errno = err_val; in f77_abort() 50 else errno = -2; /* prior value will be meaningless, in f77_abort() 54 else exit( errno ); in f77_abort()
|
/original-bsd/usr.bin/pascal/libpc/ |
H A D | READ4.c | 14 extern int errno; 29 errno = 0; 37 if (errno == ERANGE) { 40 if (errno != 0) {
|