Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

lsb_closestream()

Close an lsb_stream file.

DESCRIPTION

lsb_closestream() closes the streamFile.

This API function is inside liblsbstream.so.

SYNOPSIS

#include <lsf/lsbatch.h> 
int lsb_closestream(const char *config) 

PARAMETERS

* config

Pointer to the handle of the stream file.

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_openstream(): Open the stream file.

lsb_readstreamline(): Read a line from the stream file.

lsb_writestream(): Write an event to the stream file.

lsb_readstream(): Read from the stream file.

lsb_streamversion(): Version of the current event type supported by mbatchd.

Equivalent line command

None

Files

lsb.params


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