SYSCALLS/STREAM - stream manager routines 1985/04/30
Include files:
Fortran: /sys/ins/streams.ins.ftn
Pascal: /sys/ins/streams.ins.pas
Procedures and Functions:
STREAM_$CLOSE (stream-id, status)
Closes a stream.
STREAM_$CREATE (pathname, namelength, access, concurrency, stream-id,
status)
Creates an object (if the object does not already exist) and
opens a stream to it.
STREAM_$CREATE_BIN (pathname, namelength, access, concurrency,
stream-id, status)
Creates a binary record-structured file (if the file does not
already exist) and opens a stream to it.
STREAM_$CREATE_HERE (pathname, namelength, access, concurrency,
loclen, locname, stream-id, status)
Creates an object at the specified location and opens a
stream to it.
STREAM_$DELETE (stream-id, status)
Deletes an object and closes the associated stream.
STREAM_$FORCE_WRITE_FILE (stream-id, options, status)
Forcibly writes a disk file open on the given stream.
STREAM_$GET_BUF (stream-id, bufptr, buflen, retptr, retlen, seek-key,
status)
Reads data from an object into a specified buffer.
STREAM_$GET_CONDITIONAL (stream-id, bufptr, buflen, retptr, retlen,
seek-key, status)
Reads a record if the record is available, otherwise
sets the returned record length to zero.
STREAM_$GET_EC (stream-id, stream-key, eventcount-pointer, status)
Gets the eventcount address of the eventcount to be
advanced upon any activity within the specified stream.
STREAM_$GET_PRIOR_REC (stream-id, bufptr, buflen, retptr, retlen,
seek-key, status)
Reads the previous record.
STREAM_$GET_REC (stream-id, bufptr, buflen, retptr, retlen, seek-key,
status)
Reads the next sequential record from an object.
STREAM_$INQUIRE (input-mask, inquiry-type, attributes, error-mask,
status)
Returns information about an object.
STREAM_$OPEN (pathname, namelength, access, concurrency, stream-id,
status)
Opens a stream to an existing object.
STREAM_$PUT_CHR (stream-id, bufptr, buflen, seek-key, status)
Writes data to an object without terminating
the current record, if one exists.
STREAM_$PUT_REC (stream-id, bufptr, buflen, seek-key, status)
Writes data to an object and terminates the current record, if
one exists.
STREAM_$REDEFINE (stream-id, input-mask, attributes, error-mask,
status)
Changes one or more attributes of an object that is open on a
stream.
STREAM_$REPLACE (stream-id, bufptr, buflen, seek-key, status)
Writes data to an object without changing the
length of the current record.
STREAM_$SEEK (stream-id, seek-base, seek-type,
{seek-key|signed-offset}, status)
Moves the stream position.
STREAM_$TRUNCATE (stream-id, status)
Writes EOF at the current stream position.