POSIX-1003
view release on metacpan or search on metacpan
lib/POSIX/1003/Symbols.pm view on Meta::CPAN
getegid
geteuid
getgid
getgrent
getgrgid
getgrnam
getgroups
getlogin
getpwent
getpwnam
getpwuid
getresgid
getresuid
getuid
setegid
seteuid
setgid
setgroups
setregid
setresgid
setresuid
lib/POSIX/1003/User.pm view on Meta::CPAN
package POSIX::1003::User;
use vars '$VERSION';
$VERSION = '1.02';
use base 'POSIX::1003::Module';
use warnings;
use strict;
our @IN_CORE = qw/
getpwnam getpwuid getpwent
getgrnam getgrgid getgrent
getlogin
/;
my @functions = qw/
getuid setuid
geteuid seteuid
setreuid
getresuid setresuid
lib/POSIX/1003/User.pod view on Meta::CPAN
Simply L<perlfunc/getlogin>
=item B<getpwent>()
Simply L<perlfunc/getpwent>
=item B<getpwnam>($username)
Simply L<perlfunc/getpwnam>
=item B<getpwuid>($userid)
Simply L<perlfunc/getpwuid>
example:
my ($name, $passwd, $uid, $gid, $quota, $comment,
$gcos, $dir, $shell, $expire) = getpwuid($uid);
my $uid = getpwnam($username);
my $name = getpwuid($userid);
=back
=head3 Information about groups
=over 4
=item B<getgrent>()
Simply L<perlfunc/getgrent>
lib/POSIX/Overview.pod view on Meta::CPAN
CORE::chown($uid, $gid, @filename);
::FS::lchown($uid, $gid, @symlinks);
POSIX::lchown($uid, $gid, $symlink); # !!!
=head2 System Database Interfaces
getgrgid perlfunc User::grent
getgrnam perlfunc User::grent
getpwnam perlfunc User::pwent
getpwuid perlfunc User::pwent
=head2 Timer Interfaces
clock_getres Time::HiRes POSIX::RT::Clock
clock_gettime Time::HiRes POSIX::RT::Clock
clock_settime Time::HiRes POSIX::RT::Clock
nanosleep Time::HiRes POSIX::RT::Clock
timer_create POSIX::RT::Timer
timer_delete POSIX::RT::Timer
timer_getoverrun POSIX::RT::Timer
( run in 0.316 second using v1.01-cache-2.11-cpan-8d75d55dd25 )