socket_close.3

foundation2_fluffos_v1/lib/doc/driver/efuns/sockets/socket_close.3 · 578 B

From the archive foundation2_fluffos_v1.zip

Download the archive   « Back to the archive contents

.\"close a socket
.TH socket_close 3 "5 Sep 1994" MudOS "LPC Library Functions"

.SH NAME
socket_close() - close a socket

.SH SYNOPSIS
.nf
#include <socket_err.h>

int socket_close( int s );

.SH DESCRIPTION
socket_close() closes socket s. This frees a socket efun slot for use.

.SH RETURN VALUES
socket_close() returns:
.IP
EESUCCESS on success.
.IP
a negative value indicated below on error.

.SH ERRORS
.TP 15
EEFDRANGE
Descriptor out of range.
.TP
EEBADF
Descriptor is invalid.
.TP
EESECURITY
Security violation attempted.

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

Site Stats

Snippets: 1791
Codebases: 571