lsb_readstreamlineMT
Reads a current version eventRec structure from the lsb_stream file.lsb_readstreamlineMT reads an eventrRec from the open streamFile. The caller is responsible for freeing the memory allocated for the eventRec, using lsb_freelogrec.
#include <lsf/lsbatch.h>
struct eventRec *lsb_readstreamline(const char *line)
Data Structures: Define Statements:
- Parameters:
* line Line number in the stream file to be read. See lsb_puteventrec and lsb_geteventrec for details on the eventRec structure. Additionally, there are three additional event types supported.
- none
Errors:
- Returns:
- struct eventRec *: A pointer to eventRec
The function was successful.NULL
The function failed.Equivalent line commands:
- On failure, lsberrno is set to indicate the error.
Files:
- none
- $LSB_CONFDIR/cluster_name/configdir/lsb.params
Date Modified: 16 Jul 2014
Terms of Use
Copyright © 1994-2014 International Business Machines Corp.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.