Knowledge Center         Contents    Previous  Next    
Platform Computing Corp.

lsb_geteventrecbyline()

Parse an event line and put the result in an event record structure

SYNOPSIS

#include <lsf/lsf.h> 
int lsb_geteventrecbyline(char *line, struct eventRec *logRec) 

PARAMETERS

char *line

Buffer containing a line of event text string

struct eventRec *logRec

Pointer to an eventRec structure

PRE-CONDITIONS

The event record structure must have been initialized outside the lsb_geteventrecbyline() function.

DESCRIPTION

The lsb_geteventrecbyline() function parses an event line and puts the result in an event record structure.

If the line to be parsed is a comment line, lsb_geteventrecbyline() sets errno to bad event format and logs an error.

RETURN


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