1mysql_server_init(3)          MariaDB Connector/C         mysql_server_init(3)
2
3
4
5   Name
6       mysql_server_init - Initializes library
7
8   Synopsis
9              #include <mysql.h>
10
11              int mysql_library_init(int argc __attribute__((unused)),
12                                     char **argv __attribute__((unused)),
13                                     char **groups __attribute__((unused)))
14
15   Description
16       Call to initialize the library before calling other functions.
17
18   Parameters
19       All parameters are unused, they only exist for compatibility reasons.
20
21   Notes
22       • Call mysql_server_end(3) to clean up after completion.
23
24       • If  the library was not explicetly initialized by mysql_server_init()
25         any call to mysql_init(3) will automatically initialize the library.
26
27       • mysql_library_init() is an alias for mysql_server_init()
28
29   Return value
30       Returns zero for success, or nonzero if an error occurred.  ## See also
31       * mysql_server_end(3)
32
33
34
35Version 3.3.1                                             mysql_server_init(3)
Impressum