Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rebuffer(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setvbuf(3S)

rebuffer(3F)

NAME

rebuffer − resize a unit’s I/O buffer

SYNOPSIS

integer function rebuffer (unit, bufsize)
integer unit, bufsize

DESCRIPTION

Sets the buffer for the stream associated with unit to be size (in bytes) of bufsize.  The value for bufsize is ideally a multiple of the file system page size. 

rebuffer must be called after the unit is opened and before any reading or writing has occurred.  EBADF is returned if an illegal or unopened unit is specified, -1 is returned if an illegal buffer size is specified, and 0 if the rebuffer was successful. 

FILES

/usr/lib/libhI77.a

SEE ALSO

setvbuf(3S)

NOTES

When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of the routine name. 

CX/UX Hf77 Fortran Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026