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 TRUE if this is a write to the sysctl file
18
19 buffer
20 the user buffer
21
22 lenp
23 the size of the user buffer
24
25 ppos
26 file position
27
29 Reads/writes up to table->maxlen/sizeof(unsigned int) integer values
30 from/to the user buffer, treated as an ASCII string.
31
32 Returns 0 on success.
33
35Kernel Hackers Manual 3.10 June 2019 PROC_DOINTVEC(9)