PHP  
downloads | documentation | faq | getting help | | php.net sites | links 
search for in the  
previousdbplus_xunlockreldio_closenext
Last updated: Tue, 28 May 2002
view this page in Printer friendly version | English | Brazilian Portuguese | Czech | Dutch | French | German | Hungarian | Italian | Japanese | Korean | Polish | Romanian | Russian | Spanish | Turkish

XXIII. Direct IO functions

Introduction

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,..).

Requirements

These functions are available as part of the standard module, which is always available.

Installation

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

Runtime Configuration

T�m� laajennus ei m��rittele yht�k��n konfigurointi asetusta.

Resource Types

One resource type is defined by this extension: a file descriptor returnded by dio_open().

Predefined Constants

T�m� laajennus ei m��rittele yht�k��n vakiota.

Sis�llys
dio_close -- Closes the file descriptor given by fd
dio_fcntl -- Performs a c library fcntl on fd
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_seek -- Seeks to pos on fd from whence
dio_stat --  Gets stat information about the file descriptor fd
dio_truncate --  Truncates file descriptor fd to offset bytes
dio_write --  Writes data to fd with optional truncation at length
User Contributed Notes
Direct IO functions
add a note about notes
There are no user contributed notes for this page.
previousdbplus_xunlockreldio_closenext
Last updated: Tue, 28 May 2002
show source | credits | stats | mirror sites:  
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by:
Last updated: Thu Jul 4 12:06:15 2002 CEST