Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 703d980c580707c382b4e43e25965bc5 > files > 11952

php-manual-pt_BR-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Direct IO Functions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Manual do PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Referência das Funções"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="dbx_sort"
HREF="function.dbx-sort.html"><LINK
REL="NEXT"
TITLE="dio_close"
HREF="function.dio-close.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></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"
>Manual do PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.dbx-sort.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.dio-close.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.dio"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>XXVIII. Direct IO Functions</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN32626"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="dio.intro"
>Introdução</A
></H1
><P
>&#13;     PHP supports the direct io functions as described in the Posix
     Standard (Section 6) for performing I/O functions at a lower
     level than the C-Language stream I/O functions
     (<A
HREF="function.fopen.html"
><B
CLASS="function"
>fopen()</B
></A
>, <A
HREF="function.fread.html"
><B
CLASS="function"
>fread()</B
></A
>,..).  The use
     of the DIO functions should be considered only when direct 
     control of a device is needed.  In all other cases, the standard
     <A
HREF="ref.filesystem.html"
>filesystem</A
> functions are more
     than adequate. 
    </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Nota: </B
>
      Esta extensão foi movida para o repositório <A
HREF="http://pecl.php.net"
TARGET="_top"
>PECL</A
> e não é mais distribuida em conjunto com o
 PHP a partir do PHP 5.1.0.
     </P
></BLOCKQUOTE
></DIV
><P
>&#13;     This extension is only available on Windows Platforms as of PHP 5.0.0
    </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="dio.requirements"
>Dependências</A
></H1
><P
>Nenhuma biblioteca externa é necessária para compilar esta extensão.</P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="dio.installation"
>Instalação</A
></H1
><P
>&#13;  To get these functions to work, you have to configure PHP with
  <CODE
CLASS="option"
>--enable-dio</CODE
>.
 </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="dio.constants"
>Constantes pré-definidas</A
></H1
><P
>&#13;As contantes abaixo são definidas por esta extensão e somente
 estarão disponíveis quando a extensão foi compilada com o PHP
 ou carregada dinamicamente durante a execução.
</P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><TT
CLASS="constant"
><B
>c</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_DUPFD</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_GETFD</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_GETFL</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_GETLK</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_GETOWN</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_RDLCK</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_SETFL</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_SETLK</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_SETLKW</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_SETOWN</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_UNLCK</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>F_WRLCK</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_APPEND</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_ASYNC</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_CREAT</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_EXCL</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_NDELAY</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_NOCTTY</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_NONBLOCK</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_RDONLY</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_RDWR</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_SYNC</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_TRUNC</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>O_WRONLY</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IRGRP</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IROTH</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IRUSR</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IRWXG</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IRWXO</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IRWXU</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IWGRP</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IWOTH</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IWUSR</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IXGRP</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IXOTH</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
><DT
><TT
CLASS="constant"
><B
>S_IXUSR</B
></TT
>
    (<A
HREF="language.types.integer.html"
><B
CLASS="type"
>integer</B
></A
>)</DT
><DD
><P
></P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="dio.configuration"
>Configurações em execução</A
></H1
><P
>Esta extensão não define nenhum parâmetro de configuração no <TT
CLASS="filename"
>php.ini</TT
>.</P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="dio.resources"
>Tipos Resource</A
></H1
><P
>&#13;     One resource type is defined by this extension:
     a file descriptor returned by <A
HREF="function.dio-open.html"
><B
CLASS="function"
>dio_open()</B
></A
>.
    </P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>Índice</B
></DT
><DT
><A
HREF="function.dio-close.html"
>dio_close</A
>&nbsp;--&nbsp;Closes the file descriptor given by fd</DT
><DT
><A
HREF="function.dio-fcntl.html"
>dio_fcntl</A
>&nbsp;--&nbsp;Performs a c library fcntl on fd</DT
><DT
><A
HREF="function.dio-open.html"
>dio_open</A
>&nbsp;--&nbsp;
   Opens a new filename with specified permissions of flags and
   creation permissions of mode
  </DT
><DT
><A
HREF="function.dio-read.html"
>dio_read</A
>&nbsp;--&nbsp;Reads bytes from a file descriptor</DT
><DT
><A
HREF="function.dio-seek.html"
>dio_seek</A
>&nbsp;--&nbsp;Seeks to pos on fd from whence</DT
><DT
><A
HREF="function.dio-stat.html"
>dio_stat</A
>&nbsp;--&nbsp;
   Gets stat information about the file descriptor fd
  </DT
><DT
><A
HREF="function.dio-tcsetattr.html"
>dio_tcsetattr</A
>&nbsp;--&nbsp;
   Sets terminal attributes and baud rate for a serial port
  </DT
><DT
><A
HREF="function.dio-truncate.html"
>dio_truncate</A
>&nbsp;--&nbsp;
   Truncates file descriptor fd to offset bytes 
  </DT
><DT
><A
HREF="function.dio-write.html"
>dio_write</A
>&nbsp;--&nbsp;
   Writes data to fd with optional truncation at length 
  </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.dbx-sort.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Principal</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.dio-close.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>dbx_sort</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>dio_close</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>