POSIX(3p) Perl Programmers Reference Guide POSIX(3p)
POSIX(3p) Perl Programmers Reference Guide POSIX(3p) # POSIX(3p) Perl Programmers Reference Guide POSIX(3p) NNAAMMEE # POSIX - Perl interface to IEEE Std 1003.1 SSYYNNOOPPSSIISS # use POSIX (); use POSIX qw(setsid); use POSIX qw(:errno_h :fcntl_h); printf "EINTR is %d\n", EINTR; $sess_id = POSIX::setsid(); $fd = POSIX::open($path, O_CREAT|O_EXCL|O_WRONLY, 0644); # note: that's a filedescriptor, *NOT* a filehandle DDEESSCCRRIIPPTTIIOONN # The POSIX module permits you to access all (or nearly all) the standard POSIX 1003. ...