.\" Copyright 2015-2017 IBM Corp. .\" .TH CXL_AFU_GET_PROCESS_ELEMENT 3 2017-05-24 "LIBCXL 1.5" "CXL Manual" .SH NAME cxl_afu_get_process_element \- get the process element associated with an open AFU handle .SH SYNOPSIS .B #include .PP .BI "int cxl_afu_get_process_element(struct cxl_afu_h *" afu ); .SH DESCRIPTION .BR cxl_afu_get_process_element () returns the process element number associated with the open .IR afu . .SH RETURN VALUE On success, the process element number is returned. On error, \-1 is returned and .I errno is set appropriately. .SH ERRORS .TP .B EINVAL Invalid argument value. .TP .B EIO AFU not opened. .SH SEE ALSO .BR cxl (3), .BR cxl_afu_dev_name (3), .BR cxl_afu_fd (3), .BR cxl_afu_fd_to_h (3), .BR cxl_afu_open_dev (3), .BR cxl_afu_open_h (3), .BR cxl_afu_opened (3)