Scroll to navigation

CXL_AFU_GET_PROCESS_ELEMENT(3) CXL Manual CXL_AFU_GET_PROCESS_ELEMENT(3)

NAME

cxl_afu_get_process_element - get the process element associated with an open AFU handle

SYNOPSIS

#include <libcxl.h>

int cxl_afu_get_process_element(struct cxl_afu_h *afu);

DESCRIPTION

cxl_afu_get_process_element() returns the process element associated with the open afu.

RETURN VALUE

On success, 0 is returned. On error, -1 is returned and errno is set appropriately.

ERRORS

EINVAL
Invalid argument value.
EIO
AFU not opened.

SEE ALSO

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)
2016-05-25 LIBCXL 1.4