table of contents
other versions
CXL_FPRINT_UNKNOWN_EVENT(3) | CXL Manual | CXL_FPRINT_UNKNOWN_EVENT(3) |
NAME¶
cxl_fprint_unknown_event - print out a hex dump of a raw CXL event for debugging
SYNOPSIS¶
#include <stdio.h>
#include <libcxl.h>
int cxl_fprint_unknown_event(FILE *stream, struct cxl_event *event);
DESCRIPTION¶
cxl_fprint_unknown_event() prints out a hex dump of the raw CXL event to the file stream.
RETURN VALUE¶
On success, the number of bytes written to stream is returned. On error, -1 is returned and errno is set appropriately.
ERRORS¶
- EINVAL
- Invalid argument value.
SEE ALSO¶
cxl(3), cxl_fprint_event(3), cxl_event_pending(3), cxl_read_event(3), cxl_read_expected_event(3)
2017-05-24 | LIBCXL 1.5 |