perl
view release on metacpan or search on metacpan
ext/POSIX/lib/POSIX.pod view on Meta::CPAN
=item C<getgid>
Returns the user's real group identifier. Similar to Perl's builtin
variable C<$)>, see L<perlvar/$GID>.
=item C<getgrgid>
This is identical to Perl's builtin C<getgrgid()> function for
returning group entries by group identifiers, see
L<perlfunc/getgrgid>.
=item C<getgrnam>
This is identical to Perl's builtin C<getgrnam()> function for
returning group entries by group names, see L<perlfunc/getgrnam>.
=item C<getgroups>
Returns the ids of the user's supplementary groups. Similar to Perl's
builtin variable C<$)>, see L<perlvar/$GID>.
=item C<getlogin>
This is identical to Perl's builtin C<getlogin()> function for
returning the user name associated with the current session, see
L<perlfunc/getlogin>.
=item C<getpayload>
use POSIX ':nan_payload';
getpayload($var)
Returns the C<NaN> payload. Added in Perl v5.24.
Note the API instability warning in L</setpayload>.
See L</nan> for more discussion about C<NaN>.
=item C<getpgrp>
This is identical to Perl's builtin C<getpgrp()> function for
returning the process group identifier of the current process, see
L<perlfunc/getpgrp>.
=item C<getpid>
Returns the process identifier. Identical to Perl's builtin
variable C<$$>, see L<perlvar/$PID>.
=item C<getppid>
This is identical to Perl's builtin C<getppid()> function for
returning the process identifier of the parent process of the current
process , see L<perlfunc/getppid>.
=item C<getpwnam>
This is identical to Perl's builtin C<getpwnam()> function for
returning user entries by user names, see L<perlfunc/getpwnam>.
=item C<getpwuid>
This is identical to Perl's builtin C<getpwuid()> function for
returning user entries by user identifiers, see L<perlfunc/getpwuid>.
=item C<gets>
Returns one line from C<STDIN>, similar to E<lt>E<gt>, also known
as the C<readline()> function, see L<perlfunc/readline>.
B<NOTE>: if you have C programs that still use C<gets()>, be very
afraid. The C<gets()> function is a source of endless grief because
it has no buffer overrun checks. It should B<never> be used. The
C<fgets()> function should be preferred instead.
=item C<getuid>
Returns the user's identifier. Identical to Perl's builtin C<$E<lt>> variable,
see L<perlvar/$UID>.
=item C<gmtime>
This is identical to Perl's builtin C<gmtime()> function for
converting seconds since the epoch to a date in Greenwich Mean Time,
see L<perlfunc/gmtime>.
=item C<hypot>
Equivalent to C<S<sqrt(x * x + y * y)>> except more stable on very large
or very small arguments [C99]. Added in Perl v5.22.
=item C<ilogb>
Integer binary logarithm [C99]. Added in Perl v5.22.
For example C<ilogb(20)> is 4, as an integer.
See also L</logb>.
=item C<Inf>
The infinity as a constant:
use POSIX qw(Inf);
my $pos_inf = +Inf; # Or just Inf.
my $neg_inf = -Inf;
See also L</isinf>, and L</fpclassify>.
=item C<isalnum>
This function has been removed as of Perl v5.24. It was very similar to
matching against S<C<qr/ ^ [[:alnum:]]+ $ /x>>, which you should convert
to use instead. See L<perlrecharclass/POSIX Character Classes>.
=item C<isalpha>
This function has been removed as of Perl v5.24. It was very similar to
matching against S<C<qr/ ^ [[:alpha:]]+ $ /x>>, which you should convert
to use instead. See L<perlrecharclass/POSIX Character Classes>.
=item C<isatty>
Returns a boolean indicating whether the specified filehandle is connected
( run in 0.631 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )