Lines Matching refs:mode
40 PHPAPI int php_stream_lock(php_stream * stream, int mode);
49 PHPAPI php_stream *php_stream_open_wrapper(char *path, char *mode,
54 mode is the stdio compatible mode eg: "wb", "rb" etc.
76 PHPAPI php_stream *php_stream_fopen_from_file(FILE *file, const char *mode);
245 PHPAPI php_stream * php_stream_fopen(const char * filename, const char * mode)
247 FILE * fp = fopen(filename, mode);
251 ret = php_stream_alloc(&php_stream_stdio_ops, fp, 0, 0, mode);
269 size_t bufsize, int persistent, const char * mode)
280 mode is the stdio-like mode of operation - php streams places no real meaning
281 in the mode parameter, except that it checks for a 'w' in the string when
284 The mode parameter is passed on to fdopen/fopencookie when the stream is cast
285 into a FILE*, so it should be compatible with the mode parameter of fopen().
377 allocated in persistent mode or not.