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: 9 Sep 2009
Platform Support: support@platform.com
Platform Information Development: doc@platform.com
Platform Computing. Accelerating Intelligence(TM).
Copyright © 1994-2009 Platform Computing Corporation. All rights reserved.