Skip to content


5.00 avg. rating (97% score) - 1 vote
const char *ibv_wc_status_str(enum ibv_wc_status status);


ibv_wc_status_str() returns a string that describes a Work Completion status enumerated value.


Name Direction Description
status in The Work Completion status that its string description is requested

Return Values

Value Description
On success A string that describes the Work Completion status
On error The string "unknown". If status isn't a valid Work Completion status value


Print a description of a Work Completion status enumerated value:

const char *descr;
descr = ibv_wc_status_str(IBV_WC_SUCCESS);
printf("The description of the enumerated value %d is %s\n", IBV_WC_SUCCESS,

Share Our Posts

Share this post through social bookmarks.

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


Tell us what do you think.

There are no comments on this entry.

Add a Comment

Fill in the form and submit.

Time limit is exhausted. Please reload CAPTCHA.