table of contents
CXL_AFU_OPENED(3) | CXL Programmer's Manual | CXL_AFU_OPENED(3) |
NAME¶
cxl_afu_opened - return whether an AFU handle is opened
SYNOPSIS¶
#include <libcxl.h>
int cxl_afu_opened(struct cxl_afu_h *afu);
DESCRIPTION¶
cxl_afu_opened() returns 1 if afu is open, or else 0.
RETURN VALUE¶
On success, 0 or 1 is returned. On error, -1 is returned and errno is set appropriately.
ERRORS¶
- EINVAL
- Invalid argument value.
SEE ALSO¶
cxl(3), cxl_afu_attach(3), cxl_afu_attach_full(3), cxl_afu_attach_work(3), cxl_afu_dev_name(3), cxl_afu_fd(3), cxl_afu_fd_to_h(3), cxl_afu_free(3), cxl_afu_get_process_element(3), cxl_afu_open_dev(3), cxl_afu_open_h(3), cxl_read_event(3), cxl_read_expected_event(3)
2017-05-24 | LIBCXL 1.5 |