socket_error.3

MudOS_0.9.18/doc/efuns/sockets/socket_error.3 · 517 B

From the archive MudOS_0.9.18.tar.gz

Download the archive   « Back to the archive contents

.\"return a text description of a socket error
.TH socket_error 3

.SH NAME
socket_error() - return a text description of a socket error
.SH SYNOPSIS
.nf
#include <socket.h>
#include <socket_errors.h>

string socket_error(int error)

.SH DESCRIPTION
socket_error() returns a string describing the error signified by error.

.SH RETURN VALUES
socket_error() returns:
.IP
a string describing the error on success.
.IP
"socket_error: invalid error number" on bad input.

.SH SEE ALSO
socket_create(3), socket_connect(3)

Site Stats

Snippets: 1791
Codebases: 571