#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
原文:https://www.cnblogs.com/lodger47/p/14801263.html