Lines Matching refs:Errno
3 # errinfo - report on syscall failures and print errno error messages.
6 # When system calls fail, an errno variable is set to convay a meaningful
27 # ERR Value of errno
28 # DESC Description of errno message
30 # SEE ALSO: /usr/include/sys/errno.h
73 # Load errno descriptions
75 open(ERRNO,"/usr/include/sys/errno.h") || die "ERROR1: reading errno.h: $!\n";
76 while (chomp($line = <ERRNO>)) {
78 ($errno,$desc) = $line =~ /^#define\s+\S+\s+(\d+)\s+\/\*(.*)\*\//;
79 $Errno{$errno} = $desc;
81 close ERRNO;
91 /errno != 0 && pid != \$pid $FILTER/
93 \@Errs[execname, probefunc, errno] = count();
105 /errno != 0 && pid != \$pid $FILTER/
107 printf("%s %s %d\\n", execname, probefunc, errno);
144 ($execname,$syscall,$errno,$counts) = split(' ',$line);
145 next if $errno eq "";
147 ### Fetch errno description
148 $desc = $Errno{$errno};
153 $execname,$syscall,$errno,$counts,$desc);
155 printf("%16s %16s %4d %s\n",$execname,$syscall,$errno,$desc);