
socket_close(3)      LPC LIBRARY FUNCTIONS        socket_close(3)

NAME
     socket_close() - close a socket

SYNOPSIS
     #include <socket.h>
     #include <socket_errors.h>

     int socket_close(int s)

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

RETURN VALUES
     socket_close() returns:

     EESUCCESS on success.

     a negative value indicated below on error.

ERRORS
     EEFDRANGE      Descriptor out of range.

     EEBADF         Descriptor is invalid.

     EESECURITY     Security violation attempted.

SEE ALSO
     socket_accept(3), socket_create(3)


MudOS Release 0.9         Last change:                   11-15-92

