<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>function::user_long</title><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"><link rel="start" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="ch24.html" title="Chapter 24. String and data retrieving functions Tapset"><link rel="prev" href="re439.html" title="function::user_int_warn"><link rel="next" href="re441.html" title="function::user_long_warn"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>function::user_long</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="re439.html">Prev</a> </td><th width="60%" align="center">Chapter 24. String and data retrieving functions Tapset</th><td width="20%" align="right"> <a accesskey="n" href="re441.html">Next</a></td></tr></table><hr></div><div class="refentry" lang="en"><a name="API-user-long"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::user_long — Retrieves a long value stored in user space </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"> user_long:long(addr:long) </pre></div><div class="refsect1" lang="en"><a name="idp11456736"></a><h2>Arguments</h2><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>addr</code></em></span></dt><dd><p> the user space address to retrieve the long from </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="idp11459968"></a><h2>Description</h2><p> Returns the long value from a given user space address. Returns zero when user space data is not accessible. Note that the size of the long depends on the architecture of the current user space task (for those architectures that support both 64/32 bit compat tasks). </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="re439.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch24.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="re441.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span>function::user_int_warn</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span>function::user_long_warn</span></td></tr></table></div></body></html>