.\" 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_ALLOC" "" "06 October 2005" "" ""
.SH NAME
sock_alloc \- allocate a socket
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct socket * sock_alloc ( \fIvoid\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvoid\fB\fR
no arguments
.SH "DESCRIPTION"
.PP
.PP
Allocate a new inode and socket object. The two are bound together
and initialised. The socket is then returned. If we are out of inodes
NULL is returned.