1PROC_DOINTVEC_MINMAX(9)       The proc filesystem      PROC_DOINTVEC_MINMAX(9)
2
3
4

NAME

6       proc_dointvec_minmax - read a vector of integers with min/max values
7

SYNOPSIS

9       int proc_dointvec_minmax(struct ctl_table * table, int write,
10                                void __user * buffer, size_t * lenp,
11                                loff_t * ppos);
12

ARGUMENTS

14       table
15           the sysctl table
16
17       write
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

DESCRIPTION

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       This routine will ensure the values are within the range specified by
34       table->extra1 (min) and table->extra2 (max).
35
36       Returns 0 on success.
37
39Kernel Hackers Manual 3.10         June 2019           PROC_DOINTVEC_MINMAX(9)
Impressum