首页 > 其他 > 详细

libevent测试本地系统支持的io多路复用的方法

时间:2021-05-23 17:12:54      阅读:23      评论:0      收藏:0      [点我收藏+]
  #include <stdio.h>
  #include <event.h>
  
  int main()
  {
     char** methods = event_get_supported_methods();
      int i = 0;
      for (i = 0; methods[i]!=NULL; ++i) {
          printf("%s\n",methods[i]);                                                                                                                                     
      }   
      return 0;
  }

gcc xxxx.c -o aaaa -levent

libevent测试本地系统支持的io多路复用的方法

原文:https://www.cnblogs.com/lodger47/p/14801263.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!