1mysql_errno(3)                MariaDB Connector/C               mysql_errno(3)
2
3
4
5   Name
6       mysql_errno  - returns the last error code for the most recent function
7       call
8
9   Synopsis
10              #include <mysql.h>
11
12              unsigned int mysql_errno(MYSQL * mysql);
13
14   Description
15       Returns the last error code for the most recent function call that  can
16       succeed or fail.  Zero means no error occurred.
17
18   Parameter
19       • mysql  is  a connection identifier, which was previously allocated by
20         mysql_init(3) and connected by mysql_real_connect(3).
21
22   Notes
23       • Client error codes are listed in errmsg.h header file,  server  error
24         codes  are  listed in mysqld_error.h header file of the server source
25         distribution.
26
27   See also
28mysql_error(3)
29
30mysql_sqlstate(3)
31
32
33
34Version 3.3.1                                                   mysql_errno(3)
Impressum