suse man page for strlen_user

Query: strlen_user

OS: suse

Section: 9

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

STRLEN_USER(9)						    Memory Management in Linux						    STRLEN_USER(9)

NAME
strlen_user - Get the size of a string in user space.
SYNOPSIS
strlen_user(str);
ARGUMENTS
str The string to measure.
CONTEXT
User context only. This function may sleep.
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 there is a limit on the length of a valid string, you may wish to consider using strnlen_user instead.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STRLEN_USER(9)
Related Man Pages
strlcat(3) - debian
ne_buffer_zappend(3) - centos
numtos(9f) - opensolaris
openpam_straddch(3) - freebsd
strlcpy(3) - posix
Similar Topics in the Unix Linux Community
multiuser chat server closes when one client closes. code included
Instant Messaging App Help
Client - server program
finding a string in a file