Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2022 18:01:07 +0200
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        Domagoj Stolfa <domagoj.stolfa@gmail.com>
Cc:        freebsd-dtrace@freebsd.org
Subject:   Re: Converting int to a string in DTrace
Message-ID:  <E40C71BA-6ABA-4542-A4CB-CDB93BB126E3@FreeBSD.org>
In-Reply-To: <cce03483-a994-777d-dae0-d28ed779aadd@gmail.com>
References:  <317C65CC-5BF0-422D-80E9-4340CD241569@FreeBSD.org> <cce03483-a994-777d-dae0-d28ed779aadd@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hey Domagoj!

> On 30. Aug 2022, at 17:58, Domagoj Stolfa <domagoj.stolfa@gmail.com> wrote:
> 
> 
>         this->unit_number = args[1]->unit_number >= 0 ? lltostr(args[1]->unit_number) : "";

This is exactly what  I was looking for, thanks!

Is it documented somewhere on FreeBSD?

Best,
Mateusz
[-- Attachment #2 --]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hey Domagoj!<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 30. Aug 2022, at 17:58, Domagoj Stolfa &lt;<a href="mailto:domagoj.stolfa@gmail.com" class="">domagoj.stolfa@gmail.com</a>&gt; wrote:</div><div class=""><div class=""><p class=""><br class=""></p>
    <div class="">
      <div class="">&nbsp; &nbsp; &nbsp; &nbsp; this-&gt;unit_number =
        args[1]-&gt;unit_number &gt;= 0 ?
        lltostr(args[1]-&gt;unit_number) : "";</div>
      </div></div></div></blockquote><br class=""></div><div>This is exactly what &nbsp;I was looking for, thanks!</div><div><br class=""></div><div>Is it documented somewhere on FreeBSD?</div><div><br class=""></div><div>Best,</div><div>Mateusz</div></body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E40C71BA-6ABA-4542-A4CB-CDB93BB126E3>