1PROC_DOINTVEC(9) The proc filesystem PROC_DOINTVEC(9)
2
3
4
6 proc_dointvec - read a vector of integers
7
9 int proc_dointvec(struct ctl_table * table, int write,
10 void __user * buffer, size_t * lenp, loff_t * ppos);
11
13 table
14 the sysctl table
15
16 write
17
18 TRUE if this is a write to the sysctl file
19
20 buffer
21 the user buffer
22
23 lenp
24 the size of the user buffer
25
26 ppos
27 file position
28
30 Reads/writes up to table->maxlen/sizeof(unsigned int) integer values
31 from/to the user buffer, treated as an ASCII string.
32
33 Returns 0 on success.
34
36Kernel Hackers Manual 2.6. November 2011 PROC_DOINTVEC(9)