php man page for stream_set_read_buffer

Query: stream_set_read_buffer

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

STREAM_SET_READ_BUFFER(3)						 1						 STREAM_SET_READ_BUFFER(3)

stream_set_read_buffer - Set read file buffering on the given stream

SYNOPSIS
int stream_set_read_buffer (resource $stream, int $buffer)
DESCRIPTION
Sets the read buffer. It's the equivalent of stream_set_write_buffer(3), but for read operations.
PARAMETERS
o $stream - The file pointer. o $buffer - The number of bytes to buffer. If $buffer is 0 then read operations are unbuffered. This ensures that all reads with fread(3) are completed before other processes are allowed to read from that input stream.
RETURN VALUES
Returns 0 on success, or EOF if the request cannot be honored.
SEE ALSO
stream_set_write_buffer(3). PHP Documentation Group STREAM_SET_READ_BUFFER(3)
Related Man Pages
gets(3) - redhat
setlinebuf(3s) - hpux
setvbuf(3s) - hpux
setvbuf_unl(3s) - hpux
stream_set_blocking(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update