Knowledge Center Contents Previous Next |
lsb_readstream()
Reads a current version eventRec structure from the lsb_stream file.
DESCRIPTION
lsb_readstream() reads an eventrRec from the open streamFile
SYNOPSIS
#include <lsf/lsbatch.h> struct EventRec lsb_readstream(int *nline)See lsb_geteventrec() for details on the eventRec structure.
PARAMETERS
* nline
Line number in the stream file to be read.
See lsb_geteventrec() for details on the eventRec structure.
RETURN VALUES
integer:0
The function was successful.
integer:-1
The function failed.
ERRORS
On failure, lsberrno is set to indicate the error.
SEE ALSO
Related APIs
lsb_closestream(): Close the stream file.
lsb_geteventrec(): Get eventRec structure from an event log file.
lsb_openstream(): Open the stream file.
lsb_puteventrec(): Puts information of an eventRec structure into a log file.
lsb_readstreamline(): Read a line from the stream file.
lsb_streamversion(): Version of the current event type supported by mbatchd.
lsb_writestream(): Write an event to the stream file.
Equivalent line command
None
Files
lsb.params
Platform Computing Inc.
www.platform.com |
Knowledge Center Contents Previous Next |