.\" 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 "SND_CREATE_PROC_ENTRY" "9" "09 October 2005" "" ""
.SH NAME
snd_create_proc_entry \- create a procfs entry
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct proc_dir_entry * snd_create_proc_entry (const char * \fIname\fB, mode_t \fImode\fB, struct proc_dir_entry * \fIparent\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIname\fB\fR
the name of the proc file
.TP
\fB\fImode\fB\fR
the file permission bits, S_Ixxx
.TP
\fB\fIparent\fB\fR
the parent proc-directory entry
.SH "DESCRIPTION"
.PP
Creates a new proc file entry with the given name and permission
on the given directory.
.PP
Returns the pointer of new instance or NULL on failure.