![]() |
![]()
| ![]() |
![]()
NAMEnn_strerror - convert an error number into human-readable string SYNOPSIS#include <nanomsg/nn.h> const char *nn_strerror (int errnum); DESCRIPTIONConverts error number (errno) into a human-readable string. As opposed to strerror(3) this function handles nanomsg-specific errors in addition to standard system errors. RETURN VALUEReturn error message string. ERRORSNo errors are defined. EXAMPLErc = nn_send (s, "ABC", 3, 0); if (rc < 0) SEE ALSOnn_errno(3) nn_symbol(3) nanomsg(7) AUTHORSMartin Sustrik <sustrik@250bpm.com>
|