'\" t
.\" Title:
function::user_string
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.76.1
.\" Date: May 2013
.\" Manual: String and data retrieving functions Tapset
.\" Source: SystemTap Tapset Reference
.\" Language: English
.\"
.TH "FUNCTION:" "3stap" "May 2013" "SystemTap Tapset Reference" "String and data retrieving fun"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
function::user_string \- Retrieves string from user space
.SH "SYNOPSIS"
.sp
.nf
user_string:string(addr:long)
.fi
.SH "ARGUMENTS"
.PP
\fIaddr\fR
.RS 4
the user space address to retrieve the string from
.RE
.SH "DESCRIPTION"
.PP
Returns the null terminated C string from a given user space memory address\&. Reports
\(lq\(rq
on the rare cases when userspace data is not accessible\&.