Toms Homepage
  Home    Downloads    Your Account    Forums  
  Create an account
Modules
· Home
· Games
· My Gallery
· PHP Manual
· PHP-Nuke HOWTO
· Web Links
· Your Account
 
Who's Online
Welcome, Anonymous
Nickname

Password

Security Code
Security Code
Type Security Code


(Register)

Membership:
Latest: BrandenIG
New Today: 269
New Yesterday: 499
Overall: 62078

People Online:
Visitors: 105
Members: 9
Total: 114

Online Now:
COM ErvinNXIN
COM NestorMoh
COM ElishaEYN
COM HesterPag
COM PilarW82
COM WillisHal
COM SuzannaKe
COM BlancheHa
COM EdwinaDev
 
Direct IO Functions

XXV. 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(),..). The use of the DIO functions should be considered only when direct control of a device is needed. In all other cases, the standard filesystem functions are more than adequate.

This extension is only available on Windows Platforms as of PHP 5.0.0

Requirements

No external libraries are needed to build this extension.

Installation

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

Runtime Configuration

This extension has no configuration directives defined in php.ini.

Resource Types

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

Predefined Constants

This extension has no constants defined.

Table of Contents
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_tcsetattr --  Sets terminal attributes and baud rate for a serial port
dio_truncate --  Truncates file descriptor fd to offset bytes
dio_write --  Writes data to fd with optional truncation at length
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004 by Tom Nitzschner.
Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.091 Seconds

:: VereorLCARS phpbb2 style by Vereor :: PHP-Nuke theme by www.nukemods.com ::