Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

lsb_writestream()

Writes a current version eventRec structure into the lsb_stream file.

DESCRIPTION

lsb_writestream() writes an eventrRec to the open streamFile.

This API function is inside liblsbstream.so.

SYNOPSIS

#include <lsf/lsbatch.h> 
int lsb_writestream(struct eventRec *) 

See lsb_geteventrec() for details on the eventRec structure.

PARAMETERS

*eventRec

Pointer to the eventRec structure.

See lsb_geteventrec() for details on the eventRec structure.

RETURN VALUES

integer:0

The function was successful.

integer:-1

The function failed.

ERRORS

If the function fails, 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_readstream(): Read from the stream file.

Equivalent line command

None

Files

lsb.params


Platform Computing Inc.
www.platform.com
Knowledge Center         Contents    Previous  Next