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

search for in the

php_stream_copy_to_mem> <php_stream_tell
Last updated: Sat, 17 Jul 2004

view this page in

php_stream_copy_to_stream

(no version information, might be only in CVS)

php_stream_copy_to_stream -- Copy data from one stream to another

Description

size_t php_stream_copy_to_stream ( php_stream * src, php_stream * dest, size_t maxlen)

php_stream_copy_to_stream() attempts to read up to maxlen bytes of data from src and write them to dest, and returns the number of bytes that were successfully copied.

If you want to copy all remaining data from the src stream, pass the constant PHP_STREAM_COPY_ALL as the value of maxlen.

Not: This function will attempt to copy the data in the most efficient manner, using memory mapped files when possible.



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

php_stream_copy_to_mem> <php_stream_tell
Last updated: Sat, 17 Jul 2004
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites