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 number associated with the open afu.

RETURN VALUE

On success, the process element number is returned. On error, -1 is returned and errno is set appropriately.

ERRORS

Invalid argument value.
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)

2017-05-24 LIBCXL 1.5