Scroll to navigation

CXL_EVENT_PENDING(3) CXL Programmer's Manual CXL_EVENT_PENDING(3)

NAME

cxl_event_pending - return whether a CXL event is pending

SYNOPSIS

#include <libcxl.h>

int cxl_event_pending(struct cxl_afu_h *afu);

DESCRIPTION

cxl_event_pending() returns 1 if a CXL event can be read from afu, or else 0.

RETURN VALUE

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

ERRORS

Invalid argument value.

SEE ALSO

cxl(3), cxl_fprint_event(3), cxl_fprint_unknown_event(3), cxl_read_event(3), cxl_read_expected_event(3)

2017-05-24 LIBCXL 1.5