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

NAME

6       proc_doulongvec_minmax - read a vector of long integers with min/max
7       values
8

SYNOPSIS

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

ARGUMENTS

15       table
16           the sysctl table
17
18       write
19
20           TRUE if this is a write to the sysctl file
21
22       buffer
23           the user buffer
24
25       lenp
26           the size of the user buffer
27
28       ppos
29           file position
30

DESCRIPTION

32       Reads/writes up to table->maxlen/sizeof(unsigned long) unsigned long
33       values from/to the user buffer, treated as an ASCII string.
34
35       This routine will ensure the values are within the range specified by
36       table->extra1 (min) and table->extra2 (max).
37
38       Returns 0 on success.
39
41Kernel Hackers Manual 2.6.       November 2011         PROC_DOULONGVEC_MINM(9)
Impressum