Skip to content

ibv_event_type_str()

Contents

0.00 avg. rating (0% score) - 0 votes
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);

Share Our Posts

Share this post through social bookmarks.

  • Delicious
  • Digg
  • Newsvine
  • RSS
  • StumbleUpon
  • Technorati

Comments

Tell us what do you think.

There are no comments on this entry.

Add a Comment

This comment will be moderated; answer may be provided within 14 days.

Time limit is exhausted. Please reload CAPTCHA.