.\" 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_KMALLOC_STRDUP" "" "06 October 2005" "" "" .SH NAME snd_kmalloc_strdup \- copy the string .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp char * snd_kmalloc_strdup (const char * \fIstring\fB, int \fIflags\fB); \fR .SH "ARGUMENTS" .TP \fB\fIstring\fB\fR the original string .TP \fB\fIflags\fB\fR allocation conditions, GFP_XXX .SH "DESCRIPTION" .PP Allocates a memory chunk via \fBkmalloc\fR and copies the string to it. .PP Returns the pointer, or NULL if no enoguh memory.