mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-04-18 21:24:07 +03:00
32 lines
1.0 KiB
Groff
32 lines
1.0 KiB
Groff
.\" Automatically generated by Pandoc 3.5
|
|
.\"
|
|
.TH "mysql_server_init" "3" "" "Version 3.3" "MariaDB Connector/C"
|
|
.SS Name
|
|
mysql_server_init \- Initializes library
|
|
.SS Synopsis
|
|
.IP
|
|
.EX
|
|
#include \f[B]<mysql.h>\f[R]
|
|
|
|
int mysql_library_init(int argc __attribute__((unused)),
|
|
char **argv __attribute__((unused)),
|
|
char **groups __attribute__((unused)))
|
|
.EE
|
|
.SS Description
|
|
Call to initialize the library before calling other functions.
|
|
.SS Parameters
|
|
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 explicitly initialized by
|
|
\f[CR]mysql_server_init()\f[R] any call to \f[B]mysql_init(3)\f[R] will
|
|
automatically initialize the library.
|
|
.IP \[bu] 2
|
|
\f[CR]mysql_library_init()\f[R] is an alias for
|
|
\f[CR]mysql_server_init()\f[R]
|
|
.SS Return value
|
|
Returns zero for success, or nonzero if an error occurred.
|
|
## See also * \f[B]mysql_server_end(3)\f[R]
|