lsm_job_free - Man Page

Frees the resources used by a job.

Synopsis

int lsm_job_free (lsm_connect *conn, char **job_id, lsm_flag flags);

Arguments

conn

Valid connection pointer

job_id

String. Job ID.

flags

Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.

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.

Info

March 2021 Libstoragemgmt C API Manual