The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

POSIX::1003::OS - POSIX for the file-system

INHERITANCE

 POSIX::1003::OS
   is a POSIX::1003::Module

SYNOPSIS

  use POSIX::1003::OS qw(uname TMP_MAX);
  my ($sys, $node, $rel, $version, $machine) = uname();
  print TMP_MAX;

DESCRIPTION

You may also need POSIX::1003::Pathconf.

See documentation in base class.

METHODS

See documentation in base class.

POSIX::1003::OS->exampleValue(NAME)

See "METHODS" in POSIX::1003::Module

$obj->import()

See "METHODS" in POSIX::1003::Module

FUNCTIONS

uname()

Get the name of current operating system.

 my ($sysname, $node, $release, $version, $machine) = uname();

Note that the actual meanings of the various fields are not that well standardized: do not expect any great portability. The $sysname might be the name of the operating system, the $nodename might be the name of the host, the $release might be the (major) release number of the operating system, the $version might be the (minor) release number of the operating system, and $machine might be a hardware identifier. Maybe.

CONSTANTS

Constants from limits.h

 ARG_MAX       Max bytes of args + env for exec
 NGROUPS_MAX
 OPEN_MAX      Max # files that one process can have open
 TMP_MAX       Min # of unique filenames generated by tmpnam

SEE ALSO

This module is part of POSIX-1003 distribution version 0.94_2, built on May 17, 2013. Website: http://perl.overmeer.net. The code is based on POSIX, which is released with Perl itself. See also POSIX::Util for additional functionality.

COPYRIGHTS

Copyrights 2011-2013 on the perl code and the related documentation by [Mark Overmeer]. For other contributors see ChangeLog.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html