SYSCALLS/STREAMS - stream manager calls 81/06/28
Include files:
Fortran: /sys/ins/streams.ins.ftn
Pascal: /sys/ins/streams.ins.pas
Procedures:
stream_$close (stream_id, status)
Closes a stream.
stream_$create (pathname, namelength, access, concurrency, stream_id,
status)
Creates a uasc file object and opens a stream to it.
stream_$create_bin (pathname, namelength, access, concurrency, stream_id,
status)
Creates a binary record file object and opens a stream to it.
stream_$delete (stream_id, status)
Deletes the object associated with the specified stream, then closes
the stream.
stream_$get_conditional (stream_id, bufptr, buflen, retptr, retlen,
seek_key, status)
Returns buflen bytes of data, if the object contains any data. No
error occurs if no data is available, unless the position is known
to be at EOF.
stream_$get_ec (stream_id, key, ecp, status)
Returns a pointer to a level 2 eventcount associated with this stream.
stream_$get_prior_rec (stream_id, bufptr, buflen, retptr, retlen,
seek_key, status)
Returns the previous record from the specified stream. The object
associated with this stream must be a disk file with fixed length
records, or a uasc file, in which case the previous text line will
be retrieved.
stream_$get_rec (stream_id, bufptr, buflen, retptr, retlen, seek_key,
status)
Returns the next record from the specified stream.
stream_$inquire (input_mask, index, attributes, error_mask, status)
Returns attribute information of 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 the specified data to the current record of the given stream.
stream_$put_rec (stream_id, bufptr, buflen, seek_key, status)
Writes the specified data to the current record and terminates
the record.
stream_$redefine (stream_id, input_mask, attributes, error_mask, status)
Changes the attributes of the object open on the specified stream.
stream_$replace (stream_id, bufptr, buflen, seek_key, status)
Replaces a record in an object.
stream_$seek (stream_id, search_base, search_type, {seek_key|signed_offset},
status)
Moves the stream pointer to a specific location or offset from a
location.
stream_$truncate (stream_id, status)
Truncates the object at the current stream position.
stream_$force_write_file (stream_id, options, status)
Force writes a file and/or its directory to disk.