PHP 手冊
上一頁 |  | 下一頁

# php_stream_fopen_from_file

(no version information, might be only in CVS)

php_stream_fopen_from_file -- Convert an ANSI FILE* into a stream

## Description

php_stream * php_stream_fopen_from_file ( FILE * file, char * mode)

php_stream_fopen_from_file() returns a stream based on the file. mode must be the same as the mode used to open file, otherwise strange errors may occur when trying to write when the mode of the stream is different from the mode on the file.

上一頁 | 最開頭 | 下一頁
Streams File API Reference | 上一層 | php_stream_fopen_tmpfile