1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>proc_dointvec_jiffies</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Filesystems API"><link rel="up" href="proc.html#sysctl_interface" title="sysctl interface"><link rel="prev" href="API-proc-doulongvec-ms-jiffies-minmax.html" title="proc_doulongvec_ms_jiffies_minmax"><link rel="next" href="API-proc-dointvec-userhz-jiffies.html" title="proc_dointvec_userhz_jiffies"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">proc_dointvec_jiffies</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-proc-doulongvec-ms-jiffies-minmax.html">Prev</a> </td><th width="60%" align="center">sysctl interface</th><td width="20%" align="right"> <a accesskey="n" href="API-proc-dointvec-userhz-jiffies.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-proc-dointvec-jiffies"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>proc_dointvec_jiffies — 2 read a vector of integers as seconds 3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <b class="fsfunc">proc_dointvec_jiffies </b>(</code></td><td>struct ctl_table * <var class="pdparam">table</var>, </td></tr><tr><td> </td><td>int <var class="pdparam">write</var>, </td></tr><tr><td> </td><td>void __user * <var class="pdparam">buffer</var>, </td></tr><tr><td> </td><td>size_t * <var class="pdparam">lenp</var>, </td></tr><tr><td> </td><td>loff_t * <var class="pdparam">ppos</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idp1103059212"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>table</code></em></span></dt><dd><p> 4 the sysctl table 5 </p></dd><dt><span class="term"><em class="parameter"><code>write</code></em></span></dt><dd><p> 6 <code class="constant">TRUE</code> if this is a write to the sysctl file 7 </p></dd><dt><span class="term"><em class="parameter"><code>buffer</code></em></span></dt><dd><p> 8 the user buffer 9 </p></dd><dt><span class="term"><em class="parameter"><code>lenp</code></em></span></dt><dd><p> 10 the size of the user buffer 11 </p></dd><dt><span class="term"><em class="parameter"><code>ppos</code></em></span></dt><dd><p> 12 file position 13 </p></dd></dl></div></div><div class="refsect1"><a name="idp1103065124"></a><h2>Description</h2><p> 14 Reads/writes up to table->maxlen/sizeof(unsigned int) integer 15 values from/to the user buffer, treated as an ASCII string. 16 The values read are assumed to be in seconds, and are converted into 17 jiffies. 18 </p><p> 19 20 Returns 0 on success. 21</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-proc-doulongvec-ms-jiffies-minmax.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="proc.html#sysctl_interface">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-proc-dointvec-userhz-jiffies.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">proc_doulongvec_ms_jiffies_minmax</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">proc_dointvec_userhz_jiffies</span></td></tr></table></div></body></html> 22