FreeBSD Manual Pages
NN_STRERROR(3) nanomsg 1.1.5 NN_STRERROR(3) NAME nn_strerror - convert an error number into human-readable string SYNOPSIS #include <nanomsg/nn.h> const char *nn_strerror (int errnum); DESCRIPTION Converts 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 VALUE Return error message string. ERRORS No errors are defined. EXAMPLE rc = nn_send (s, "ABC", 3, 0); if (rc < 0) printf ("nn_send failed: %s\n", nn_strerror (errno)); SEE ALSO nn_errno(3) nn_symbol(3) nanomsg(7) AUTHORS Martin Sustrik <sustrik@250bpm.com> 2018-10-15 NN_STRERROR(3)
NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | EXAMPLE | SEE ALSO | AUTHORS
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=nn_strerror&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>