STRNLEN_USER
Section: (9)
Updated: 09 April 2004
Index
Return to Main Contents
NAME
strnlen_user - Get the size of a string in user space.
SYNOPSIS
long strnlen_user (const char __user * s, long n);
ARGUMENTS
- s
-
The string to measure.
- n
-
The maximum valid length
DESCRIPTION
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 the string is too long, returns a value greater than n.
ABOUT THIS DOCUMENT
This documentation was generated with kernel version 2.6.0.
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- ABOUT THIS DOCUMENT
-
This document was created by
man2html,
using the manual pages.
Time: 09:20:10 GMT, April 09, 2004