array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'eio.constants.php', 1 => 'Predefined Constants', ), 'up' => array ( 0 => 'book.eio.php', 1 => 'Eio', ), 'prev' => array ( 0 => 'eio.resources.php', 1 => 'Resource Types', ), 'next' => array ( 0 => 'eio.examples.php', 1 => 'Examples', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/eio/constants.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
Request priority constants:
EIO_PRI_MIN
(int)
EIO_PRI_DEFAULT
(int)
EIO_PRI_MAX
(int)
eio_seek() whence
argument:
EIO_SEEK_SET
(int)
offset
).
EIO_SEEK_CUR
(int)
offset
bytes.
EIO_SEEK_END
(int)
offset
bytes.
Flags used with eio_readdir():
EIO_READDIR_DENTS
(int)
'names'
- array of directory names
'dents'
- array of struct eio_dirent
-like
arrays having the following keys each:
'name'
- the directory name;
'type'
- one of EIO_DT_*
constants;
'inode'
- the inode number, if available, otherwise
unspecified;
EIO_READDIR_DIRS_FIRST
(int)
EIO_READDIR_STAT_ORDER
(int)
stat
'ing each one. When planning to
stat() all files in the given directory, the
returned order will likely be
fastest.
EIO_READDIR_FOUND_UNKNOWN
(int)
EIO_DT_UNKNOWN
(int)
EIO_DT_FIFO
(int)
EIO_DT_CHR
(int)
EIO_DT_MPC
(int)
EIO_DT_DIR
(int)
EIO_DT_NAM
(int)
EIO_DT_BLK
(int)
EIO_DT_MPB
(int)
EIO_DT_REG
(int)
EIO_DT_NWK
(int)
EIO_DT_CMP
(int)
EIO_DT_LNK
(int)
EIO_DT_SOCK
(int)
EIO_DT_DOOR
(int)
EIO_DT_WHT
(int)
EIO_DT_MAX
(int)
Access modes for eio_open() flags
argument:
EIO_O_RDONLY
(int)
EIO_O_WRONLY
(int)
EIO_O_RDWR
(int)
EIO_O_NONBLOCK
(int)
EIO_O_APPEND
(int)
EIO_O_CREAT
(int)
EIO_O_TRUNC
(int)
EIO_O_EXCL
(int)
EIO_O_FSYNC
(int)
mode
argument flags for eio_open():
EIO_S_IRUSR
(int)
EIO_S_IWUSR
(int)
EIO_S_IXUSR
(int)
EIO_S_IRGRP
(int)
EIO_S_IWGRP
(int)
EIO_S_IXGRP
(int)
EIO_S_IROTH
(int)
EIO_S_IWOTH
(int)
EIO_S_IXOTH
(int)
EIO_S_IFREG
(int)
EIO_S_IFCHR
(int)
EIO_S_IFBLK
(int)
EIO_S_IFIFO
(int)
EIO_S_IFSOCK
(int)
eio_sync_file_range() flags:
EIO_SYNC_FILE_RANGE_WAIT_BEFORE
(int)
EIO_SYNC_FILE_RANGE_WRITE
(int)
EIO_SYNC_FILE_RANGE_WAIT_AFTER
(int)
eio_fallocate() flags:
Note:
EIO_S_I* constants have the same meaning as their S_I* POSIX counterparts.
Note:
EIO_SYNC_FILE_* constants have the same meaning as their SYNC_FILE_** counterparts.
Note:
EIO_O_* constants have the same meaning as their O_* POSIX counterparts.