Corrected description of return values
This commit is contained in:
parent
dd88dbe1d1
commit
b634e90b2c
@ -64,7 +64,7 @@ struct ddlpa_lock {
|
|||||||
@param errmsg if *errmsg is not NULL after the call, it contains an
|
@param errmsg if *errmsg is not NULL after the call, it contains an
|
||||||
error message. Then to be released by free(3).
|
error message. Then to be released by free(3).
|
||||||
It is NULL in case of success or lack of memory.
|
It is NULL in case of success or lack of memory.
|
||||||
@return 0=success , 1=failure
|
@return 0=success , else an errno compatible error number
|
||||||
*/
|
*/
|
||||||
int ddlpa_lock_path(char *path, int o_flags, int ddlpa_flags,
|
int ddlpa_lock_path(char *path, int o_flags, int ddlpa_flags,
|
||||||
struct ddlpa_lock **lockbundle, char **errmsg);
|
struct ddlpa_lock **lockbundle, char **errmsg);
|
||||||
@ -80,7 +80,7 @@ int ddlpa_lock_path(char *path, int o_flags, int ddlpa_flags,
|
|||||||
will be ignored.
|
will be ignored.
|
||||||
@param lockbundle see ddlpa_lock_path().
|
@param lockbundle see ddlpa_lock_path().
|
||||||
@param errmsg see ddlpa_lock_path().
|
@param errmsg see ddlpa_lock_path().
|
||||||
@return 0=success , 1=failure
|
@return 0=success , else an errno compatible error number
|
||||||
*/
|
*/
|
||||||
int ddlpa_lock_btl(int bus, int target, int lun,
|
int ddlpa_lock_btl(int bus, int target, int lun,
|
||||||
int o_flags, int ddlpa_flags,
|
int o_flags, int ddlpa_flags,
|
||||||
|
Loading…
Reference in New Issue
Block a user