|
YAZ 5.35.1
|
errno utilities More...
Go to the source code of this file.
Macros | |
| #define | _REENTRANT |
Functions | |
| int | yaz_errno (void) |
| returns errno | |
| void | yaz_set_errno (int v) |
| sets errno to value | |
| void | yaz_strerror (char *buf, size_t bufsz) |
| returns system error description string | |
errno utilities
This file unlike other files in YAZ core is thread-aware, due to the use errno.
Definition in file errno.c.
| int yaz_errno | ( | void | ) |
returns errno
Definition at line 31 of file errno.c.
Referenced by iochan_event_loop(), tcpip_connect(), tcpip_get(), tcpip_listen(), tcpip_put(), unix_bind(), unix_connect(), unix_get(), unix_listen(), unix_put(), yaz_iconv(), and yaz_strerror().
| void yaz_set_errno | ( | int | v | ) |
sets errno to value
| v | errno value |
Definition at line 36 of file errno.c.
Referenced by tcpip_get(), and unix_bind().
| void yaz_strerror | ( | char * | buf, |
| size_t | bufsz | ||
| ) |
returns system error description string
| buf | buffer for result |
| bufsz | maximum number of bytes to store |
Definition at line 41 of file errno.c.
References yaz_errno().
Referenced by yaz_log().