Functions

missing/close.c File Reference

#include <errno.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
Include dependency graph for close.c:

Go to the source code of this file.

Functions

int ruby_getpeername (int s, struct sockaddr *name, socklen_t *namelen)
int ruby_getsockname (int s, struct sockaddr *name, socklen_t *namelen)
int ruby_shutdown (int s, int how)
int ruby_close (int s)

Function Documentation

int ruby_close ( int  s  ) 

Definition at line 55 of file close.c.

References ECONNRESET, err, and errno.

int ruby_getpeername ( int  s,
struct sockaddr *  name,
socklen_t *  namelen 
)

Definition at line 8 of file close.c.

References ECONNRESET, err, and errno.

int ruby_getsockname ( int  s,
struct sockaddr *  name,
socklen_t *  namelen 
)

Definition at line 24 of file close.c.

References ECONNRESET, err, and errno.

int ruby_shutdown ( int  s,
int  how 
)

Definition at line 40 of file close.c.

References ECONNRESET, err, errno, and shutdown.