Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > media > main > by-pkgid > 0afeee9cca140e167a996902b9a677c5 > files > 3129

php-manual-en-4.3.0-2mdk.noarch.rpm

<HTML
><HEAD
><TITLE
>POSIX functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="PHP Manual"
HREF="index.html"><LINK
REL="UP"
TITLE="Function Reference"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="zend_version"
HREF="function.zend-version.html"><LINK
REL="NEXT"
TITLE="posix_ctermid"
HREF="function.posix-ctermid.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-1"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP Manual</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.zend-version.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.posix-ctermid.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.posix"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>LXXX. POSIX functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN75428"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="posix.intro"
></A
>Introduction</H1
><P
>&#13;     This module contains an interface to those functions defined in
     the IEEE 1003.1 (POSIX.1) standards document which are not
     accessible through other means. POSIX.1 for example defined the
     open(), read(), write() and close() functions, too, which
     traditionally have been part of PHP 3 for a long time. Some more
     system specific functions have not been available before, though,
     and this module tries to remedy this by providing easy access to
     these functions.
    </P
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Warning</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>&#13;      Sensitive data can be retrieved with the POSIX functions, e.g.
      <A
HREF="function.posix-getpwnam.html"
><B
CLASS="function"
>posix_getpwnam()</B
></A
> and friends. None of the 
      POSIX function perform any kind of access
      checking when <A
HREF="features.safe-mode.html#ini.safe-mode"
>safe mode</A
> is enabled.
      It's therefore <SPAN
CLASS="strong"
><B
CLASS="emphasis"
>strongly</B
></SPAN
> advised to
      disable the POSIX extension at all (use
      <TT
CLASS="literal"
>--disable-posix</TT
> in your configure line) if you're
      operating in such an environment.
     </P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>This extension is not
available on Windows platforms.</P
></BLOCKQUOTE
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="posix.installation"
></A
>Installation</H1
><P
>&#13;  POSIX functions are enabled by default. You can disable POSIX-like
  functions with <TT
CLASS="option"
>--disable-posix</TT
>.
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="posix.seealso"
></A
>See Also</H1
><P
>&#13;     The section about <A
HREF="ref.pcntl.html"
>Process Control Functions</A
>
     maybe of interest for you.
    </P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Table of Contents</B
></DT
><DT
><A
HREF="function.posix-ctermid.html"
>posix_ctermid</A
>&nbsp;--&nbsp;Get path name of controlling terminal</DT
><DT
><A
HREF="function.posix-getcwd.html"
>posix_getcwd</A
>&nbsp;--&nbsp;Pathname of current directory</DT
><DT
><A
HREF="function.posix-getegid.html"
>posix_getegid</A
>&nbsp;--&nbsp;
     Return the effective group ID of the current process
    </DT
><DT
><A
HREF="function.posix-geteuid.html"
>posix_geteuid</A
>&nbsp;--&nbsp;
     Return the effective user ID of the current process
    </DT
><DT
><A
HREF="function.posix-getgid.html"
>posix_getgid</A
>&nbsp;--&nbsp;
     Return the real group ID of the current process
    </DT
><DT
><A
HREF="function.posix-getgrgid.html"
>posix_getgrgid</A
>&nbsp;--&nbsp;Return info about a group by group id</DT
><DT
><A
HREF="function.posix-getgrnam.html"
>posix_getgrnam</A
>&nbsp;--&nbsp;Return info about a group by name</DT
><DT
><A
HREF="function.posix-getgroups.html"
>posix_getgroups</A
>&nbsp;--&nbsp;
     Return the group set of the current process
    </DT
><DT
><A
HREF="function.posix-getlogin.html"
>posix_getlogin</A
>&nbsp;--&nbsp;Return login name</DT
><DT
><A
HREF="function.posix-getpgid.html"
>posix_getpgid</A
>&nbsp;--&nbsp;Get process group id for job control</DT
><DT
><A
HREF="function.posix-getpgrp.html"
>posix_getpgrp</A
>&nbsp;--&nbsp;
     Return the current process group identifier
    </DT
><DT
><A
HREF="function.posix-getpid.html"
>posix_getpid</A
>&nbsp;--&nbsp;Return the current process identifier</DT
><DT
><A
HREF="function.posix-getppid.html"
>posix_getppid</A
>&nbsp;--&nbsp;Return the parent process identifier</DT
><DT
><A
HREF="function.posix-getpwnam.html"
>posix_getpwnam</A
>&nbsp;--&nbsp;Return info about a user by username</DT
><DT
><A
HREF="function.posix-getpwuid.html"
>posix_getpwuid</A
>&nbsp;--&nbsp;Return info about a user by user id</DT
><DT
><A
HREF="function.posix-getrlimit.html"
>posix_getrlimit</A
>&nbsp;--&nbsp;Return info about system ressource limits</DT
><DT
><A
HREF="function.posix-getsid.html"
>posix_getsid</A
>&nbsp;--&nbsp;Get the current sid of the process</DT
><DT
><A
HREF="function.posix-getuid.html"
>posix_getuid</A
>&nbsp;--&nbsp;
     Return the real user ID of the current process
    </DT
><DT
><A
HREF="function.posix-isatty.html"
>posix_isatty</A
>&nbsp;--&nbsp;
     Determine if a file descriptor is an interactive terminal
    </DT
><DT
><A
HREF="function.posix-kill.html"
>posix_kill</A
>&nbsp;--&nbsp;Send a signal to a process</DT
><DT
><A
HREF="function.posix-mkfifo.html"
>posix_mkfifo</A
>&nbsp;--&nbsp;
     Create a fifo special file (a named pipe)
    </DT
><DT
><A
HREF="function.posix-setegid.html"
>posix_setegid</A
>&nbsp;--&nbsp;
     Set the effective GID of the current process
    </DT
><DT
><A
HREF="function.posix-seteuid.html"
>posix_seteuid</A
>&nbsp;--&nbsp;
     Set the effective UID of the current process
    </DT
><DT
><A
HREF="function.posix-setgid.html"
>posix_setgid</A
>&nbsp;--&nbsp;
     Set the GID of the current process
    </DT
><DT
><A
HREF="function.posix-setpgid.html"
>posix_setpgid</A
>&nbsp;--&nbsp;set process group id for job control</DT
><DT
><A
HREF="function.posix-setsid.html"
>posix_setsid</A
>&nbsp;--&nbsp;Make the current process a session leader</DT
><DT
><A
HREF="function.posix-setuid.html"
>posix_setuid</A
>&nbsp;--&nbsp;
     Set the UID of the current process
    </DT
><DT
><A
HREF="function.posix-times.html"
>posix_times</A
>&nbsp;--&nbsp;Get process times</DT
><DT
><A
HREF="function.posix-ttyname.html"
>posix_ttyname</A
>&nbsp;--&nbsp;Determine terminal device name</DT
><DT
><A
HREF="function.posix-uname.html"
>posix_uname</A
>&nbsp;--&nbsp;Get system name</DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.zend-version.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.posix-ctermid.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>zend_version</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>posix_ctermid</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>