Lines Matching refs:it

83     /* Generate a temporary file name and open it. */
124 This function will set buf to the address of the buffer that it allocated, which
129 mmap where it can.
131 If you have an existing stream and need to be able to `seek()` it, you can use
154 NOTE: Writing to the stream may not affect the original source, so it only makes
164 NOTE: If you are opening a stream and need it to be seekable, use the
178 You need to "cast" the stream into a `FILE*`, and this is how you do it:
207 create it for you. Be warned that doing so may cause buffered data to be lost
215 it naturally supports `FILE *`. You can use this code snippet for this purpose:
234 /* it can be a socket */
260 associates it with a `php_stream` using `php_stream_alloc`.
285 be passed back to fopen_wrapper (or it's yet to be implemented successor).
302 it lasts across requests, or non-persistently so that it is freed at the end
303 of a request (it uses pemalloc),
305 meaning in the mode parameter, except that it checks for a `w` in the string
309 into a `FILE*`, so it should be compatible with the mode parameter of `fopen()`.
320 * RULE #2: Please use the stdio stream as a reference; it will help you
321 understand the semantics of the stream operations, and it will always be more
331 it, allocate it (use pemalloc with the persistent flag set appropriately), and
332 use the abstract pointer to refer to it.
356 define the your own php_stream_ops struct (we called it my_ops in the above
375 /* pull out some data from the stream and put it in buf */
395 That's it!