1mysql_get_host_info(3)        MariaDB Connector/C       mysql_get_host_info(3)
2
3
4
5   Name
6       mysql_get_host_info - Returns host information
7
8   Synopsis
9              #include <mysql.h>
10              const char * mysql_get_host_info(MYSQL * mysql);
11
12   Description
13       Describes  the  type of connection in use for the connection, including
14       the server host name.  Returns a string, or NULL if the  connection  is
15       not valid.
16
17   Parameter
18       • mysql  -  a  connection identifier, which was previously allocated by
19         mysql_init(3) and connected by mysql_real_connect(3).
20
21   Return value
22       Returns a string, describing host information or NULL if the connection
23       is not valid.
24
25   See also
26mysql_get_server_version(3)
27
28
29
30Version 3.2.2                                           mysql_get_host_info(3)
Impressum