php-doc-en/reference/inotify/book.xml
2013-05-23 17:38:21 +00:00

50 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<book xml:id="book.inotify" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Inotify</title>
<!-- {{{ preface -->
<preface xml:id="intro.inotify">
&reftitle.intro;
<para>
The inotify extension exposes the inotify functions <function>inotify_init</function>,
<function>inotify_add_watch</function> and <function>inotify_rm_watch</function>.
</para>
<para>
As the C <function>inotify_init</function> function returns a file descriptor, PHP's
<function>inotify_init</function> returns a stream resource, usable with standard
stream functions, like <function>stream_select</function>, <function>stream_set_blocking</function>
and <function>fclose</function>. <function>inotify_read</function> replaces the C way of reading inotify
events.
</para>
</preface>
<!-- }}} -->
&reference.inotify.setup;
&reference.inotify.constants;
&reference.inotify.reference;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->