stream_set_read_buffer(3) php man page | unix.com

Man Page: stream_set_read_buffer

Operating Environment: php

Section: 3

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
getc(3) - redhat
setvbuf(3s) - hpux
stream_set_blocking(3) - php
stream_set_write_buffer(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update