.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SOCK_RELEASE" "" "06 October 2005" "" ""
.SH NAME
sock_release \- close a socket
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
void sock_release (struct socket * \fIsock\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsock\fB\fR
socket to close
.SH "DESCRIPTION"
.PP
The socket is released from the protocol stack if it has a release
callback, and the inode is then released if the socket is bound to
an inode not a file.