perl-Linux-RTC-Ioctl - Real Time Clock access using the Linux driver ioctl interface

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Linux-RTC-Ioctl-0.08-alt3.1.i586.rpm
Package name perl-Linux-RTC-Ioctl
Package version 0.08
Package release alt3.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 64.11 KB
Installed size 64.11 KB
`$device' can be an open file handle, a device file name, a device number
(0, 1, 2..) or empty (`undef'), in which case /dev/rtc is used.
The Linux driver has built-in locking so that only one process can have the
/dev/rtc interface open at a time. You must be root or must have permissions
to access the device file, according to the usual file owner and group. User
processes than can access the device, still need to have the CAP_SYS_TIME
capability in order to use the `$rtc->set_time' method.
Beware the RTC time runs in the RTC time zone, which is not the same as the
local time zone of the system, as it can also be GMT. To prevent problems with
the transition to and from DST (daylight saving time), the RTC should run in the
GMT time zone, which is usually the default for the Linux setup. Note there is no
why to retrieve this time zone from the RTC device, the system stores this
information elsewhere (see the manual page for the `hwclock` command for more
details). Even if you know the RTC time zone, the RTC time will not accurately
match the system time. Linux OS learns how fast the RTC time is running compared
to real time, and if it is not accurate, Linux will constantly adjust the RTC
(every 11 min) to keep it close to the real time.
Any functionality described here is present only when supported by the RTC
hardware. Methods that access the device return `undef' in case of error,
in which case you can read the system error variable `$!'. Methods are
defined only if the corresponding ioctl request is defined for the platform,
you can check for example `defined \&Linux::RTC::Ioctl::set_wakeup_alarm'.
All methods can take the date-time components from:
=over 4
=item * the argument list (if arguments are passed)
=item * the `$rtc' object fields (empty arguments list)
All methods can return the date-time components as:
=over 4
=item * function result (if called in list context)
=item * the `$rtc' object fields (in scalar or void context)
All information here is taken from:
=over ...


Package Version Architecture Repository
perl-Linux-RTC-Ioctl-0.08-alt3.1.x86_64.rpm 0.08 x86_64 Autoimports
perl-Linux-RTC-Ioctl - - -


Name Value
/usr/lib/perl5 - - - - - -
perl( -
perl( -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Linux/RTC/ = 0.080
perl-Linux-RTC-Ioctl = 0.08-alt3.1


Type URL
Binary Package perl-Linux-RTC-Ioctl-0.08-alt3.1.i586.rpm
Source Package perl-Linux-RTC-Ioctl-0.08-alt3.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] i586 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Linux-RTC-Ioctl rpm package:
    # sudo apt-get install perl-Linux-RTC-Ioctl



See Also

Package Description
perl-Linux-Seccomp-0.003-alt4.1.i586.rpm Interface to libseccomp Linux syscall filtering library
perl-Linux-Setns-2.1-alt3.1.i586.rpm Perl interface for Linux setns system call
perl-Linux-Shadow-0.05-alt2.1.i586.rpm Perl extension for accessing the shadow files using the
perl-Linux-Smaps-Tiny-0.10-alt3.1.i586.rpm A minimal and fast alternative to L<Linux::Smaps>
perl-Linux-Socket-Accept4-0.05-alt3.1.i586.rpm accept4(2) bindings for Perl5
perl-Linux-SysInfo-0.15-alt2.1.i586.rpm Perl interface to the sysinfo(2) Linux system call
perl-Linux-Sysfs-0.03-alt8_18.i586.rpm Perl interface to libsysfs
perl-Linux-Systemd-1.191790-alt1.i586.rpm Bindings for C<systemd> APIs
perl-Linux-Termios2-0.01-alt3.1.i586.rpm wrap the F<Linux>-specific C<struct termios2> structure
perl-Linux-USBKeyboard-0.04-alt4.1.i586.rpm access devices pretending to be qwerty keyboards
perl-Linux-USBKeyboard-scripts-0.04-alt4.1.i586.rpm Linux-USBKeyboard scripts
perl-Linux-Unshare-1.1-alt3.1.i586.rpm Perl interface for Linux unshare system call
perl-Linux-UserXAttr-0.02-alt1.i586.rpm Support for extended file attributes on Linux
perl-Linux-loadavg-0.09-alt4.1.i586.rpm Get system load averages (via getloadavg(3C) system call)
perl-LinuxRealTime-0.01-alt4.1.i586.rpm perl module LinuxRealTime