lsb_calendarinfo
Gets information about calendars defined in the batch system.lsb_calendarinfo gets information about calendars defined in the batch system.
On success, this routine returns a pointer to an array of calendarInfoEnt structures which stores the information about the returned calendars and numCalendars gives number of calendars returned. On failure NULL is returned and lsberrno is set to indicate the error.
#include <lsf/lsbatch.h>
struct calendarInfoEnt *lsb_calendarinfo(char **calendars, int *numCalendars, char *user)
Data Structures: Define Statements:
- Parameters:
**calendars calendars is a pointer to an array of calendar names. *numCalendars *numCalendars gives the number of calendar names. If *numCalendars is 0, then information about all calendars is returned. By default, only the invokers calendars are considered. *user Setting the user parameter will cause the given users calendars to be considered.Use the reserved user name all to get calendars of all users.
- none
Errors:
- Returns:
- struct calendarInfoEnt *:An array of the calendars and their info.
Function was successful.NULL
Function failed.Equivalent line commands:
- If the function fails, lsberrno is set to indicate the error.
Files:
- none
- none
- See also:
- lsb_calendarop
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.