'\" t .\" Title: function::kernel_string2 .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: November 2014 .\" Manual: String and data retrieving functions Tapset .\" Source: SystemTap Tapset Reference .\" Language: English .\" .TH "FUNCTION::KERNEL_STR" "3stap" "November 2014" "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::kernel_string2 \- Retrieves string from kernel memory with alternative error string .SH "SYNOPSIS" .sp .nf kernel_string2:string(addr:long,err_msg:string) .fi .SH "ARGUMENTS" .PP \fIaddr\fR .RS 4 The kernel address to retrieve the string from .RE .PP \fIerr_msg\fR .RS 4 The error message to return when data isn\*(Aqt available .RE .SH "DESCRIPTION" .PP This function returns the null terminated C string from a given kernel memory address\&. Reports the given error message on string copy fault\&.