mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
39 lines
1.0 KiB
Groff
39 lines
1.0 KiB
Groff
.\" Automatically generated by Pandoc 2.5
|
|
.\"
|
|
.TH "mysql_server_init" "3" "" "Version 3.2.2" "MariaDB Connector/C"
|
|
.hy
|
|
.SS Name
|
|
.PP
|
|
mysql_server_init \- Initializes library
|
|
.SS Synopsis
|
|
.IP
|
|
.nf
|
|
\f[C]
|
|
#include <mysql.h>
|
|
|
|
int mysql_library_init(int argc __attribute__((unused)),
|
|
char **argv __attribute__((unused)),
|
|
char **groups __attribute__((unused)))
|
|
\f[R]
|
|
.fi
|
|
.SS Description
|
|
.PP
|
|
Call to initialize the library before calling other functions.
|
|
.SS Parameters
|
|
.PP
|
|
All parameters are unused, they only exist for compatibility reasons.
|
|
.SS Notes
|
|
.IP \[bu] 2
|
|
Call \f[B]mysql_server_end(3)\f[R] to clean up after completion.
|
|
.IP \[bu] 2
|
|
If the library was not explicetly initialized by
|
|
\f[C]mysql_server_init()\f[R] any call to \f[B]mysql_init(3)\f[R] will
|
|
automatically initialize the library.
|
|
.IP \[bu] 2
|
|
\f[C]mysql_library_init()\f[R] is an alias for
|
|
\f[C]mysql_server_init()\f[R]
|
|
.SS Return value
|
|
.PP
|
|
Returns zero for success, or nonzero if an error occurred.
|
|
## See also * \f[B]mysql_server_end(3)\f[R]
|