suse man page for strnlen_user

Query: strnlen_user

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

STRNLEN_USER(9) 					    Memory Management in Linux						   STRNLEN_USER(9)

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.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STRNLEN_USER(9)
Related Man Pages
ggstrlcpy(3) - debian
strlcpy(3) - opendarwin
strlcpy(3) - php
strlcpy(3) - linux
strlcpy(3) - ultrix
Similar Topics in the Unix Linux Community
Missing Modules After Compiling Kernel