PHP: php_stream_write - Manual

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

search for in the

php_stream_eof php_stream_read

Last updated: Fri, 26 Jan 2007

view this page in

# php_stream_write

php_stream_write -- Write a number of bytes from a buffer to a stream

## Description

size_t php_stream_write ( php_stream * stream, const char * buf, size_t count )

php_stream_write() writes `count` bytes of data from `buf` into `stream`.

php_stream_write() returns the number of bytes that were written successfully. If there was an error, the number of bytes written will be less than `count`.

The internal position of the stream is advanced by the number of bytes that were written, so that subsequent writes will continue writing from that point.

add a note User Contributed Notes
php_stream_write
There are no user contributed notes for this page.
php_stream_eof php_stream_read

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