'\" t .\" Title: proc_dointvec_ms_jiffies .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: The proc filesystem .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "PROC_DOINTVEC_MS_JIF" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "The proc filesystem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" proc_dointvec_ms_jiffies \- read a vector of integers as 1 milliseconds .SH "SYNOPSIS" .HP \w'int\ proc_dointvec_ms_jiffies('u .BI "int proc_dointvec_ms_jiffies(struct\ ctl_table\ *\ " "table" ", int\ " "write" ", void\ __user\ *\ " "buffer" ", size_t\ *\ " "lenp" ", loff_t\ *\ " "ppos" ");" .SH "ARGUMENTS" .PP \fIstruct ctl_table * table\fR .RS 4 the sysctl table .RE .PP \fIint write\fR .RS 4 \fBTRUE\fR if this is a write to the sysctl file .RE .PP \fIvoid __user * buffer\fR .RS 4 the user buffer .RE .PP \fIsize_t * lenp\fR .RS 4 the size of the user buffer .RE .PP \fIloff_t * ppos\fR .RS 4 the current position in the file .RE .SH "DESCRIPTION" .PP Reads/writes up to table\->maxlen/sizeof(unsigned int) integer values from/to the user buffer, treated as an ASCII string\&. The values read are assumed to be in 1/1000 seconds, and are converted into jiffies\&. .PP Returns 0 on success\&. .SH "COPYRIGHT" .br