CVS update: php3/doc/functions
| From: | brianlmoon | Date: | Fri, 16 Apr 1999 05:24:51 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5089@lists.php.net to get a copy of this message | ||
Date: Friday April 16, 1999 @ 1:24
Author: brianlmoon
Update of /repository/php3/doc/functions
In directory asf:/u/temp/cvs-serv2919/php3/doc/functions
Modified Files:
filesystem.sgml
Log Message:
Added set_file_buffer().
Index: php3/doc/functions/filesystem.sgml
diff -c php3/doc/functions/filesystem.sgml:1.41 php3/doc/functions/filesystem.sgml:1.42
*** php3/doc/functions/filesystem.sgml:1.41 Sat Apr 10 07:54:11 1999
--- php3/doc/functions/filesystem.sgml Fri Apr 16 01:24:51 1999
***************
*** 967,972 ****
--- 967,1003 ----
</refsect1>
</refentry>
+ <refentry id="function.set_file_buffer">
+ <refnamediv>
+ <refname>set_file_buffer</refname>
+ <refpurpose>Sets file buffering on the given file pointer</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcdef>int <function>fwrite</function></funcdef>
+ <paramdef>int <parameter>fp</parameter></paramdef>
+ <paramdef>int <parameter>buffer</parameter></paramdef>
+ </funcsynopsis>
+ <simpara>
+ <function>set_file_buffer</function> sets the buffering for write
+ operations on the given filepointer <parameter>fp</parameter> to
+ <parameter>buffer</parameter> bytes. If
<parameter>buffer</parameter>
+ is 0 then write operations are unbuffered.
+
+ <simpara>
+ The function returns 0 on success, or EOF if the request cannot
+ be honored.
+
+ <simpara>
+ Note that the default for any fopen with calling set_file_buffer
+ is 8K.
+
+ <simpara>
+ See also <function>fopen</function>.
+ </refsect1>
+ </refentry>
+
<refentry id="function.is-dir">
<refnamediv>
<refname>is_dir</refname>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net