MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
test-init.c
1
/*
2
* Compile with:
3
* cc -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent
4
*/
5
#ifdef HAVE_CONFIG_H
6
#include "config.h"
7
#endif
8
9
10
#include <sys/types.h>
11
#include <sys/stat.h>
12
#include <sys/time.h>
13
#ifdef HAVE_SYS_SOCKET_H
14
#include <sys/socket.h>
15
#endif
16
#include <fcntl.h>
17
#include <stdlib.h>
18
#include <stdio.h>
19
#include <string.h>
20
#include <unistd.h>
21
#include <errno.h>
22
23
#include <
event.h
>
24
25
int
26
main(
int
argc,
char
**argv)
27
{
28
/* Initalize the event library */
29
event_init();
30
31
return
(0);
32
}
33
libevent
test
test-init.c
Generated on Sat Nov 9 2013 01:24:48 for MySQL 5.6.14 Source Code Document by
1.8.1.2