NAME¶
cxl_get_caia_version - get the CAIA version supported by a CXL adapter
SYNOPSIS¶
#include <libcxl.h>
int cxl_get_caia_version(struct cxl_adapter_h
*adapter, long *majorp, long
*minorp);
DESCRIPTION¶
cxl_get_caia_version() copies the major and minor values of the CAIA
version implemented on adapter to the long integers pointed to by
majorp and minorp.
RETURN VALUE¶
On success, 0 is returned. On error, -1 is returned and errno is set
appropriately.
ERRORS¶
- EINVAL
- Invalid argument value.
- ENOMEM
- Insufficient memory.