PHP: Direct IO Functions - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dio_close dbx_sort

Last updated: Fri, 26 Jan 2007

view this page in

# XXVIII. Direct IO 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(),..). 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 has been moved to the PECL repository and is no longer bundled with PHP as of PHP 5.1.0.

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

# Требования

Эти функции всегда доступны.

# Установка

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

# Предопределенные константы

Перечисленные ниже константы определены данным расширением и могут быть доступны только в том случае, если PHP был собран с поддержкой этого расширения или же в том случае, если данное расширение подгружается во время выполнения.

`c` (integer)

`F_DUPFD` (integer)

`F_GETFD` (integer)

`F_GETFL` (integer)

`F_GETLK` (integer)

`F_GETOWN` (integer)

`F_RDLCK` (integer)

`F_SETFL` (integer)

`F_SETLK` (integer)

`F_SETLKW` (integer)

`F_SETOWN` (integer)

`F_UNLCK` (integer)

`F_WRLCK` (integer)

`O_APPEND` (integer)

`O_ASYNC` (integer)

`O_CREAT` (integer)

`O_EXCL` (integer)

`O_NDELAY` (integer)

`O_NOCTTY` (integer)

`O_NONBLOCK` (integer)

`O_RDONLY` (integer)

`O_RDWR` (integer)

`O_SYNC` (integer)

`O_TRUNC` (integer)

`O_WRONLY` (integer)

`S_IRGRP` (integer)

`S_IROTH` (integer)

`S_IRUSR` (integer)

`S_IRWXG` (integer)

`S_IRWXO` (integer)

`S_IRWXU` (integer)

`S_IWGRP` (integer)

`S_IWOTH` (integer)

`S_IWUSR` (integer)

`S_IXGRP` (integer)

`S_IXOTH` (integer)

`S_IXUSR` (integer)

# Настройка во время выполнения

Данное расширение не определяет никакие директивы конфигурации в `php.ini`.

# Типы ресурсов

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

add a note User Contributed Notes
Direct IO Functions
There are no user contributed notes for this page.
dio_close dbx_sort

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST