CXL_AFU_GET_PROCESS_ELEMENT(3) | CXL Manual | CXL_AFU_GET_PROCESS_ELEMENT(3) |
cxl_afu_get_process_element - get the process element associated with an open AFU handle
#include <libcxl.h>
int cxl_afu_get_process_element(struct cxl_afu_h *afu);
cxl_afu_get_process_element() returns the process element number associated with the open afu.
On success, the process element number is returned. On error, -1 is returned and errno is set appropriately.
cxl(3), cxl_afu_dev_name(3), cxl_afu_fd(3), cxl_afu_fd_to_h(3), cxl_afu_open_dev(3), cxl_afu_open_h(3), cxl_afu_opened(3)
2017-05-24 | LIBCXL 1.5 |