PostgreSQL Source Code
git master
|
#include "c.h"
Go to the source code of this file.
Functions | |
static char * | gnuish_strerror_r (int errnum, char *buf, size_t buflen) |
static char * | get_errno_symbol (int errnum) |
char * | pg_strerror (int errnum) |
char * | pg_strerror_r (int errnum, char *buf, size_t buflen) |
|
static |
Definition at line 113 of file strerror.c.
References EADDRINUSE, EADDRNOTAVAIL, EAFNOSUPPORT, EAGAIN, ECONNABORTED, ECONNREFUSED, ECONNRESET, EHOSTDOWN, EHOSTUNREACH, EIDRM, EINPROGRESS, EINTR, EISCONN, EMSGSIZE, ENETDOWN, ENETRESET, ENETUNREACH, ENOBUFS, ENOTCONN, ENOTSOCK, ENOTSUP, EOPNOTSUPP, EOVERFLOW, EPROTONOSUPPORT, ETIMEDOUT, and EWOULDBLOCK.
Referenced by pg_strerror_r().
|
static |
Definition at line 85 of file strerror.c.
References buf, strerror, strerror_r, and strlcpy().
Referenced by pg_strerror_r().
char* pg_strerror | ( | int | errnum | ) |
char* pg_strerror_r | ( | int | errnum, |
char * | buf, | ||
size_t | buflen | ||
) |
Definition at line 46 of file strerror.c.
References _, buf, get_errno_symbol(), gnuish_strerror_r(), snprintf, and str.
Referenced by pg_strerror().