| The Linux Kernel API | ||
|---|---|---|
| <<< Previous | Next >>> | |
Get the size of a NUL-terminated string in user space.
Returns the size of the string INCLUDING the terminating NUL. On exception, returns 0.
If there is a limit on the length of a valid string, you may wish to consider using strnlen_user instead.
| <<< Previous | Home | Next >>> |
| __copy_from_user_inatomic | Up | __strncpy_from_user |