.\" 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 "PROC_DOULONGVEC_MINMAX" "" "06 October 2005" "" "" .SH NAME proc_doulongvec_minmax \- read a vector of long integers with min/max values .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int proc_doulongvec_minmax (ctl_table * \fItable\fB, int \fIwrite\fB, struct file * \fIfilp\fB, void __user * \fIbuffer\fB, size_t * \fIlenp\fB); \fR .SH "ARGUMENTS" .TP \fB\fItable\fB\fR the sysctl table .TP \fB\fIwrite\fB\fR TRUE if this is a write to the sysctl file .TP \fB\fIfilp\fB\fR the file structure .TP \fB\fIbuffer\fB\fR the user buffer .TP \fB\fIlenp\fB\fR the size of the user buffer .SH "DESCRIPTION" .PP Reads/writes up to table->maxlen/sizeof(unsigned long) unsigned long values from/to the user buffer, treated as an ASCII string. .PP This routine will ensure the values are within the range specified by table->extra1 (min) and table->extra2 (max). .PP Returns 0 on success.