1STRLEN_USER(9)            Memory Management in Linux            STRLEN_USER(9)
2
3
4

NAME

6       strlen_user - Get the size of a string in user space.
7

SYNOPSIS

9       strlen_user(str);
10

ARGUMENTS

12       str
13           The string to measure.
14

CONTEXT

16       User context only. This function may sleep.
17

DESCRIPTION

19       Get the size of a NUL-terminated string in user space.
20
21       Returns the size of the string INCLUDING the terminating NUL. On
22       exception, returns 0.
23
24       If there is a limit on the length of a valid string, you may wish to
25       consider using strnlen_user instead.
26
28Kernel Hackers Manual 2.6.       November 2011                  STRLEN_USER(9)
Impressum