STRLEN_USER

Section: (9)
Updated: 09 April 2004
Index Return to Main Contents

 

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.  

ABOUT THIS DOCUMENT

This documentation was generated with kernel version 2.6.0.


 

Index

NAME
SYNOPSIS
ARGUMENTS
CONTEXT
DESCRIPTION
ABOUT THIS DOCUMENT

This document was created by man2html, using the manual pages.
Time: 12:49:35 GMT, April 09, 2004