0.00 avg. rating (0% score) - 0 votes
const char *ibv_event_type_str(enum ibv_event_type event); |
const char *ibv_event_type_str(enum ibv_event_type event);
Description
ibv_event_type_str() returns a string that describes an asynchronous event type enumerated value.
Parameters
Name |
Direction |
Description |
event |
in |
The asynchronous event type that its string description is requested |
Return Values
Value |
Description |
On success |
A string that describes the asynchronous event type |
On error |
The string "unknown". If event isn't a valid asynchronous event type value |
Examples
Print a description of an asynchronous event type enumerated value:
const char *descr;
descr = ibv_event_type_str(IBV_EVENT_CQ_ERR);
printf("The description of the enumerated value %d is %s\n", IBV_EVENT_CQ_ERR,
descr); |
const char *descr;
descr = ibv_event_type_str(IBV_EVENT_CQ_ERR);
printf("The description of the enumerated value %d is %s\n", IBV_EVENT_CQ_ERR,
descr);
Written by: Dotan Barak on May 4, 2013.on January 31, 2014.
Share Our Posts
Share this post through social bookmarks.
Add a Comment
This comment will be moderated; answer may be provided within 14 days.
Comments
Tell us what do you think.
There are no comments on this entry.