Server IP : 103.169.32.36 / Your IP : 216.73.217.108 Web Server : Apache System : Linux web.dpmptsp 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : apache ( 48) PHP Version : 5.6.40 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib64/perl5/ |
Upload File : |
| Current File : /lib64/perl5/Errno.pm |
# -*- buffer-read-only: t -*-
#
# This file is auto-generated. ***ANY*** changes here will be lost
#
package Errno;
require Exporter;
use Config;
use strict;
"$Config{'archname'}-$Config{'osvers'}" eq
"x86_64-linux-thread-multi-3.10.0-957.1.3.el7.x86_64" or
die "Errno architecture (x86_64-linux-thread-multi-3.10.0-957.1.3.el7.x86_64) does not match executable architecture ($Config{'archname'}-$Config{'osvers'})";
our $VERSION = "1.15";
$VERSION = eval $VERSION;
our @ISA = 'Exporter';
my %err;
BEGIN {
%err = (
EPERM => 1,
ENOENT => 2,
ESRCH => 3,
EINTR => 4,
EIO => 5,
ENXIO => 6,
E2BIG => 7,
ENOEXEC => 8,
EBADF => 9,
ECHILD => 10,
EWOULDBLOCK => 11,
EAGAIN => 11,
ENOMEM => 12,
EACCES => 13,
EFAULT => 14,
ENOTBLK => 15,
EBUSY => 16,
EEXIST => 17,
EXDEV => 18,
ENODEV => 19,
ENOTDIR => 20,
EISDIR => 21,
EINVAL => 22,
ENFILE => 23,
EMFILE => 24,
ENOTTY => 25,
ETXTBSY => 26,
EFBIG => 27,
ENOSPC => 28,
ESPIPE => 29,
EROFS => 30,
EMLINK => 31,
EPIPE => 32,
EDOM => 33,
ERANGE => 34,
EDEADLOCK => 35,
EDEADLK => 35,
ENAMETOOLONG => 36,
ENOLCK => 37,
ENOSYS => 38,
ENOTEMPTY => 39,
ELOOP => 40,
ENOMSG => 42,
EIDRM => 43,
ECHRNG => 44,
EL2NSYNC => 45,
EL3HLT => 46,
EL3RST => 47,
ELNRNG => 48,
EUNATCH => 49,
ENOCSI => 50,
EL2HLT => 51,
EBADE => 52,
EBADR => 53,
EXFULL => 54,
ENOANO => 55,
EBADRQC => 56,
EBADSLT => 57,
EBFONT => 59,
ENOSTR => 60,
ENODATA => 61,
ETIME => 62,
ENOSR => 63,
ENONET => 64,
ENOPKG => 65,
EREMOTE => 66,
ENOLINK => 67,
EADV => 68,
ESRMNT => 69,
ECOMM => 70,
EPROTO => 71,
EMULTIHOP => 72,
EDOTDOT => 73,
EBADMSG => 74,
EOVERFLOW => 75,
ENOTUNIQ => 76,
EBADFD => 77,
EREMCHG => 78,
ELIBACC => 79,
ELIBBAD => 80,
ELIBSCN => 81,
ELIBMAX => 82,
ELIBEXEC => 83,
EILSEQ => 84,
ERESTART => 85,
ESTRPIPE => 86,
EUSERS => 87,
ENOTSOCK => 88,
EDESTADDRREQ => 89,
EMSGSIZE => 90,
EPROTOTYPE => 91,
ENOPROTOOPT => 92,
EPROTONOSUPPORT => 93,
ESOCKTNOSUPPORT => 94,
ENOTSUP => 95,
EOPNOTSUPP => 95,
EPFNOSUPPORT => 96,
EAFNOSUPPORT => 97,
EADDRINUSE => 98,
EADDRNOTAVAIL => 99,
ENETDOWN => 100,
ENETUNREACH => 101,
ENETRESET => 102,
ECONNABORTED => 103,
ECONNRESET => 104,
ENOBUFS => 105,
EISCONN => 106,
ENOTCONN => 107,
ESHUTDOWN => 108,
ETOOMANYREFS => 109,
ETIMEDOUT => 110,
ECONNREFUSED => 111,
EHOSTDOWN => 112,
EHOSTUNREACH => 113,
EALREADY => 114,
EINPROGRESS => 115,
ESTALE => 116,
EUCLEAN => 117,
ENOTNAM => 118,
ENAVAIL => 119,
EISNAM => 120,
EREMOTEIO => 121,
EDQUOT => 122,
ENOMEDIUM => 123,
EMEDIUMTYPE => 124,
ECANCELED => 125,
ENOKEY => 126,
EKEYEXPIRED => 127,
EKEYREVOKED => 128,
EKEYREJECTED => 129,
EOWNERDEAD => 130,
ENOTRECOVERABLE => 131,
ERFKILL => 132,
EHWPOISON => 133,
);
# Generate proxy constant subroutines for all the values.
# Well, almost all the values. Unfortunately we can't assume that at this
# point that our symbol table is empty, as code such as if the parser has
# seen code such as C<exists &Errno::EINVAL>, it will have created the
# typeglob.
# Doing this before defining @EXPORT_OK etc means that even if a platform is
# crazy enough to define EXPORT_OK as an error constant, everything will
# still work, because the parser will upgrade the PCS to a real typeglob.
# We rely on the subroutine definitions below to update the internal caches.
# Don't use %each, as we don't want a copy of the value.
foreach my $name (keys %err) {
if ($Errno::{$name}) {
# We expect this to be reached fairly rarely, so take an approach
# which uses the least compile time effort in the common case:
eval "sub $name() { $err{$name} }; 1" or die $@;
} else {
$Errno::{$name} = \$err{$name};
}
}
}
our @EXPORT_OK = keys %err;
our %EXPORT_TAGS = (
POSIX => [qw(
E2BIG EACCES EADDRINUSE EADDRNOTAVAIL EAFNOSUPPORT EAGAIN EALREADY
EBADF EBUSY ECHILD ECONNABORTED ECONNREFUSED ECONNRESET EDEADLK
EDESTADDRREQ EDOM EDQUOT EEXIST EFAULT EFBIG EHOSTDOWN EHOSTUNREACH
EINPROGRESS EINTR EINVAL EIO EISCONN EISDIR ELOOP EMFILE EMLINK
EMSGSIZE ENAMETOOLONG ENETDOWN ENETRESET ENETUNREACH ENFILE ENOBUFS
ENODEV ENOENT ENOEXEC ENOLCK ENOMEM ENOPROTOOPT ENOSPC ENOSYS ENOTBLK
ENOTCONN ENOTDIR ENOTEMPTY ENOTSOCK ENOTTY ENXIO EOPNOTSUPP EPERM
EPFNOSUPPORT EPIPE EPROTONOSUPPORT EPROTOTYPE ERANGE EREMOTE ERESTART
EROFS ESHUTDOWN ESOCKTNOSUPPORT ESPIPE ESRCH ESTALE ETIMEDOUT
ETOOMANYREFS ETXTBSY EUSERS EWOULDBLOCK EXDEV
)]
);
sub TIEHASH { bless \%err }
sub FETCH {
my (undef, $errname) = @_;
return "" unless exists $err{$errname};
my $errno = $err{$errname};
return $errno == $! ? $errno : 0;
}
sub STORE {
require Carp;
Carp::confess("ERRNO hash is read only!");
}
*CLEAR = *DELETE = \*STORE; # Typeglob aliasing uses less space
sub NEXTKEY {
each %err;
}
sub FIRSTKEY {
my $s = scalar keys %err; # initialize iterator
each %err;
}
sub EXISTS {
my (undef, $errname) = @_;
exists $err{$errname};
}
tie %!, __PACKAGE__; # Returns an object, objects are true.
__END__
=head1 NAME
Errno - System errno constants
=head1 SYNOPSIS
use Errno qw(EINTR EIO :POSIX);
=head1 DESCRIPTION
C<Errno> defines and conditionally exports all the error constants
defined in your system C<errno.h> include file. It has a single export
tag, C<:POSIX>, which will export all POSIX defined error numbers.
C<Errno> also makes C<%!> magic such that each element of C<%!> has a
non-zero value only if C<$!> is set to that value. For example:
use Errno;
unless (open(FH, "/fangorn/spouse")) {
if ($!{ENOENT}) {
warn "Get a wife!\n";
} else {
warn "This path is barred: $!";
}
}
If a specified constant C<EFOO> does not exist on the system, C<$!{EFOO}>
returns C<"">. You may use C<exists $!{EFOO}> to check whether the
constant is available on the system.
=head1 CAVEATS
Importing a particular constant may not be very portable, because the
import will fail on platforms that do not have that constant. A more
portable way to set C<$!> to a valid value is to use:
if (exists &Errno::EFOO) {
$! = &Errno::EFOO;
}
=head1 AUTHOR
Graham Barr <gbarr@pobox.com>
=head1 COPYRIGHT
Copyright (c) 1997-8 Graham Barr. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
=cut
# ex: set ro:
| N4m3 |
5!z3 |
L45t M0d!f!3d |
0wn3r / Gr0up |
P3Rm!55!0n5 |
0pt!0n5 |
| .. |
-- |
September 29 2025 07:00:45 |
0 / 0 |
0555 |
|
| B |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| CORE |
-- |
February 02 2021 16:33:01 |
0 / 0 |
0755 |
|
| Devel |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| Digest |
-- |
February 02 2021 16:32:27 |
0 / 0 |
0755 |
|
| File |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| Filter |
-- |
February 02 2021 16:32:27 |
0 / 0 |
0755 |
|
| Hash |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| I18N |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| IO |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| IPC |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| MIME |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| Math |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| PerlIO |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| Sys |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| Text |
-- |
February 02 2021 16:32:27 |
0 / 0 |
0755 |
|
| Tie |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| Time |
-- |
February 02 2021 16:32:27 |
0 / 0 |
0755 |
|
| Unicode |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| asm |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| asm-generic |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| auto |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| bits |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| gnu |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| linux |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| machine |
-- |
February 02 2021 16:33:00 |
0 / 0 |
0755 |
|
| sys |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| vendor_perl |
-- |
January 19 2024 08:12:45 |
0 / 0 |
0755 |
|
| | | | | |
| B.pm |
26.586 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| Config.pm |
3.023 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| Config.pod |
226.611 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| Config_git.pl |
0.399 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| Config_heavy.pl |
46.596 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| DynaLoader.pm |
24.356 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| Errno.pm |
6.354 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| Fcntl.pm |
3.832 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| GDBM_File.pm |
1.515 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| IO.pm |
1.367 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| NDBM_File.pm |
2.441 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| O.pm |
4.109 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| ODBM_File.pm |
2.327 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| Opcode.pm |
15.236 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| POSIX.pm |
16.247 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| POSIX.pod |
57.81 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| SDBM_File.pm |
2.438 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| _h2ph_pre.ph |
19.847 KB |
February 02 2021 16:32:57 |
0 / 0 |
0644 |
|
| arybase.pm |
2.758 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| attributes.pm |
14.878 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| endian.ph |
4.217 KB |
February 02 2021 16:33:00 |
0 / 0 |
0644 |
|
| features.ph |
11.736 KB |
February 02 2021 16:33:00 |
0 / 0 |
0644 |
|
| lib.pm |
5.865 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| mro.pm |
9.854 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| ops.pm |
0.974 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| re.pm |
17.088 KB |
February 02 2021 16:32:27 |
0 / 0 |
0644 |
|
| signal.ph |
3.422 KB |
February 02 2021 16:33:00 |
0 / 0 |
0644 |
|
| stdarg.ph |
2.78 KB |
February 02 2021 16:32:58 |
0 / 0 |
0644 |
|
| stdc-predef.ph |
0.487 KB |
February 02 2021 16:33:00 |
0 / 0 |
0644 |
|
| stddef.ph |
11.911 KB |
February 02 2021 16:33:01 |
0 / 0 |
0644 |
|
| syscall.ph |
0.084 KB |
February 02 2021 16:32:57 |
0 / 0 |
0644 |
|
| syslimits.ph |
0.441 KB |
February 02 2021 16:32:58 |
0 / 0 |
0644 |
|
| syslog.ph |
0.083 KB |
February 02 2021 16:32:58 |
0 / 0 |
0644 |
|
| time.ph |
3.374 KB |
February 02 2021 16:33:00 |
0 / 0 |
0644 |
|
| wait.ph |
0.081 KB |
February 02 2021 16:33:00 |
0 / 0 |
0644 |
|
| xlocale.ph |
0.152 KB |
February 02 2021 16:33:01 |
0 / 0 |
0644 |
|