App-errnos

 view release on metacpan or  search on metacpan

bin/errnos  view on Meta::CPAN

Perinci::CmdLine::Any->new(
    url => "/App/errnos/list_errnos",
)->run;

# ABSTRACT: List possible $! ($OS_ERROR, $ERRNO) values on your system
# PODNAME: errnos
# code_after_end

__END__

=pod

=encoding UTF-8

=head1 NAME

errnos - List possible $! ($OS_ERROR, $ERRNO) values on your system

=head1 VERSION

This document describes version 0.02 of errnos (from Perl distribution App-errnos), released on 2015-09-10.

=head1 SYNOPSIS

Usage:

 % errnos [options] [query]

Examples:

List possible errno numbers with their messages:

 % errnos -l

Search specific errnos:

 % errnos -l 'No such'

=head1 DESCRIPTION

Sample output:

 +--------+-----------------------------------+
 | number | string                            |
 +--------+-----------------------------------+
 | 1      | Operation not permitted           |
 | 2      | No such file or directory         |
 | 3      | No such process                   |
 | 4      | Interrupted system call           |
 | 5      | Input/output error                |
 | 6      | No such device or address         |
 | 7      | Argument list too long            |
 | 8      | Exec format error                 |
 | 9      | Bad file descriptor               |
 | 10     | No child processes                |
 | 11     | Resource temporarily unavailable  |
 | 12     | Cannot allocate memory            |
 | 13     | Permission denied                 |
 | 14     | Bad address                       |
 | 15     | Block device required             |
 | 16     | Device or resource busy           |
 | 17     | File exists                       |
 | 18     | Invalid cross-device link         |
 | 19     | No such device                    |
 | 20     | Not a directory                   |
 | 21     | Is a directory                    |
 | 22     | Invalid argument                  |
 | 23     | Too many open files in system     |
 | 24     | Too many open files               |
 | 25     | Inappropriate ioctl for device    |
 | 26     | Text file busy                    |
 | 27     | File too large                    |
 | 28     | No space left on device           |
 | 29     | Illegal seek                      |
 | 30     | Read-only file system             |
 | 31     | Too many links                    |
 | 32     | Broken pipe                       |
 | 33     | Numerical argument out of domain  |
 | 34     | Numerical result out of range     |
 | 35     | Resource deadlock avoided         |
 | 36     | File name too long                |
 | 37     | No locks available                |
 | 38     | Function not implemented          |
 | 39     | Directory not empty               |
 | 40     | Too many levels of symbolic links |
 +--------+-----------------------------------+

=head1 OPTIONS

C<*> marks required options.

=head2 Configuration options

=over

=item B<--config-path>=I<filename>

Set path to configuration file.

Can be specified multiple times.

=item B<--config-profile>=I<s>

Set configuration profile to use.

=item B<--no-config>

Do not use any configuration file.

=back

=head2 Environment options

=over

=item B<--no-env>

Do not read environment for default options.

=back

=head2 Field selection options

=over

=item B<--detail>, B<-l>

Return array of full records instead of just ID fields.

By default, only the key (ID) field is returned per result entry.



( run in 4.420 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )