ls_getacctrec
Reads the next record from the opened log file created by RES.ls_getacctrec reads the next record from the opened log file created by RES (see lsf.acct). It returns a pointer to the lsfAcctRec structure.
Memory for the lsfAcctRec structure is statically allocated and will be overwritten by the next ls_getacctrec call.
#include <stdio.h>
#include <lsf/lsf.h>struct lsfAcctRec *ls_getacctrec(FILE *fp, int *lineNum) struct lsfAcctRec_ext *ls_getacctrec_ext(FILE *fp, int *lineNum)
Data Structures: Define Statements:
- Parameters:
*fp File pointer of lsf.acct file. *lineNum Line number of lsf.acct file.
- none
Errors:
- Returns:
- struct lsfAcctRec *: A pointer to an lsfAcctRec record.
Function was successful.NULL
Function failed.Equivalent line commands:
- Systems that conform to the Single UNIX specification are not required to detect error conditions for this function.
Files:
- none
- none
- See also:
- none
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.