1lsm_job_free(3) Libstoragemgmt C API Manual lsm_job_free(3)
2
3
4
6 lsm_job_free - Frees the resources used by a job.
7
9 int lsm_job_free (lsm_connect *conn, char **job_id, lsm_flag flags);
10
12 conn Valid connection pointer
13
14 job_id String. Job ID.
15
16 flags Reserved for future use, must be LSM_CLIENT_FLAG_RSVD.
17
19 1.0
20
22 Frees the resources used by a job.
23
25 The memory used for the job id string will be freed during this call
26 and job_id will be set to NULL.
27
29 Error code as enumerated by 'lsm_error_number'.
30 * LSM_ERR_OK
31 On success.
32 * LSM_ERR_INVALID_ARGUMENT
33 When any argument is NULL or not a valid lsm_connect pointer
34 or invalid flags.
35 * LSM_ERR_NOT_FOUND_JOB
36 When job not found.
37
38
39
40May 2021 lsm_job_free lsm_job_free(3)