1lsm_volume_vpd83_verify(3)Libstoragemgmt C API Manuallsm_volume_vpd83_verify(3)
2
3
4
6 lsm_volume_vpd83_verify -
7
9 int lsm_volume_vpd83_verify (const char *vpd83);
10
12 vpd83 String to verify.
13
15 paramefvpdl8s3m_error_nuVmPbDers.trinrgettvoalcheLcSkM_rEeRtRu_rOnK Erirforvcpoddeiass eOnKumerreattveadl
16 by
17 LSM_INVALID_ARGUMENT otherwise. lsm_volume_vpd83_verify - Verifies if
18 volume vpd83 is valid.
19
20 Verifies whether specified string is a valid volume vpd83:
21 * For string start with '2' or '3' or '5', the valid vpd83 should
22 be 16 hex digits(0-9a-f).
23 * For string start with '6', the valid vpd83 should be 32 hex
24 digits(0-9a-f).
25
27 1.0
28
30 Error code as enumerated by 'lsm_error_number':
31 * LSM_ERR_OK
32 Is valid volume vpd83.
33 * LSM_ERR_INVALID_ARGUMENT
34 Not a valid volume vpd83 or argument is NULL.
35
36
37
38February 2020 lsm_volume_vpd83_verify lsm_volume_vpd83_verify(3)