Lines Matching refs:errcode
39 use constant ERR_LIB_OFFSET => 23; # Offset of the "library" errcode section
60 my $errcode = "Errno::$errname"->();
63 # On most systems, there is no E macro for errcode zero in <errno.h>,
65 # that some platforms do have an E macro for errcode zero.
66 # With perl, errcode zero is a bit special. Perl consistently gives
69 # is to skip this errcode.
70 skip "perl error strings and ssystem error strings for errcode 0 differ", 1
71 if $errcode == 0;
75 if $errcode < 0;
77 &ok(match_syserr_reason($errcode));
133 my $errcode = shift;
136 my $errcode_hex = sprintf "%x", $errcode;
146 my $errcode = shift;
152 local $! = $errcode;
160 push @strings, "reason($errcode)";
162 return match_opensslerr_reason(ERR_SYSTEM_FLAG | $errcode, @strings);