Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/book.dio.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.fileprocess.file.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'book.dio.php',
1 => 'Direct IO',
),
'up' =>
array (
0 => 'refs.fileprocess.file.php',
1 => 'File System Related Extensions',
),
'prev' =>
array (
0 => 'refs.fileprocess.file.php',
1 => 'File System Related Extensions',
),
'next' =>
array (
0 => 'intro.dio.php',
1 => 'Introduction',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">Direct IO</h1>
<ul class="chunklist chunklist_book"><li><a href="intro.dio.php">Introduction</a></li><li><a href="dio.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="dio.requirements.php">Requirements</a></li><li><a href="dio.installation.php">Installation</a></li><li><a href="dio.configuration.php">Runtime Configuration</a></li><li><a href="dio.resources.php">Resource Types</a></li></ul></li><li><a href="dio.constants.php">Predefined Constants</a></li><li><a href="ref.dio.php">Direct IO Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.dio-close.php">dio_close</a> — Closes the file descriptor given by fd</li><li><a href="function.dio-fcntl.php">dio_fcntl</a> — Performs a c library fcntl on fd</li><li><a href="function.dio-open.php">dio_open</a> — Opens a file (creating it if necessary) at a lower level than the
C library input/ouput stream functions allow.</li><li><a href="function.dio-read.php">dio_read</a> — Reads bytes from a file descriptor</li><li><a href="function.dio-seek.php">dio_seek</a> — Seeks to pos on fd from whence</li><li><a href="function.dio-stat.php">dio_stat</a> — Gets stat information about the file descriptor fd</li><li><a href="function.dio-tcsetattr.php">dio_tcsetattr</a> — Sets terminal attributes and baud rate for a serial port</li><li><a href="function.dio-truncate.php">dio_truncate</a> — Truncates file descriptor fd to offset bytes</li><li><a href="function.dio-write.php">dio_write</a> — Writes data to fd with optional truncation at length</li></ul></li></ul></div><?php manual_footer(); ?>