PHP Handbuch
Zurück |  | Nach vorne

# php_stream_write

(no version information, might be only in CVS)

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 read 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.

Zurück | Zum Anfang | Nach vorne
php_stream_read | Nach oben | php_stream_eof