Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
English Site | Spanish Site 

 Allgemeines

 Web Hosting

 Virtual Dedicated Servers

 Domaincheck

 Bestellen

 Order Status

 Support

 Kontakt

 Download

 Network

 Network Status

 Webdesign Partner

 Kreditkartenzahlung

 AGB

 Impressum

 Rechtliche Hinweise

 Datenschutz
  PHP / Direct IO functions
Direct IO functions

XXIII. Direct IO functions

Direct I/O Functions

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 (fopen, fread,..).

Installation

To get these functions to work, you have to configure PHP with --enable-dio.

Table of Contents
dio_open --  Opens a new filename with specified permissions of flags and creation permissions of mode
dio_read --  Reads n bytes from fd and returns them, if n is not specified, reads 1k block
dio_write --  Writes data to fd with optional truncation at length
dio_truncate --  Truncates file descriptor fd to offset bytes
dio_stat --  Gets stat information about the file descriptor fd
dio_seek -- Seeks to pos on fd from whence
dio_fcntl -- Performs a c library fcntl on fd
dio_close -- Closes the file descriptor given by fd

© 1998-2007 Gold Vision Communications All Rights Reserved.