lsm_job_free(3) | Libstoragemgmt C API Manual | lsm_job_free(3) |
NAME¶
lsm_job_free - Frees the resources used by a job.
SYNOPSIS¶
int lsm_job_free (lsm_connect *conn, char **job_id, lsm_flag flags);
ARGUMENTS¶
VERSION¶
1.0
DESCRIPTION¶
Frees the resources used by a job.
NOTE¶
The memory used for the job id string will be freed during this call and job_id will be set to NULL.
RETURN¶
Error code as enumerated by 'lsm_error_number'.
* LSM_ERR_OK
On success.
* LSM_ERR_INVALID_ARGUMENT
When any argument is NULL or not a valid lsm_connect pointer
or invalid flags.
* LSM_ERR_NOT_FOUND_JOB
When job not found.
lsm_job_free | May 2019 |