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
fgetc(3) - redhat
getchar(3) - redhat
gets(3) - redhat
setbuf(3) - freebsd
stream_set_write_buffer(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!