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

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------kRyG1WwOLVXjXWkrc6dvtaNi
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

I'm not sure if it's documented anywhere in FreeBSD itself, but it is

documented here: https://illumos.org/books/dtrace/chp-actsub.html.


-- 

Domagoj


On 8/30/2022 5:01 PM, Mateusz Piotrowski wrote:
> 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
--------------kRyG1WwOLVXjXWkrc6dvtaNi
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I'm not sure if it's documented anywhere in FreeBSD itself, but
      it is</p>
    <p>documented here:
      <a class="moz-txt-link-freetext" href="https://illumos.org/books/dtrace/chp-actsub.html">https://illumos.org/books/dtrace/chp-actsub.html</a>.</p>;
    <p><br>
    </p>
    <p>-- <br>
    </p>
    <p>Domagoj</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 8/30/2022 5:01 PM, Mateusz
      Piotrowski wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:E40C71BA-6ABA-4542-A4CB-CDB93BB126E3@FreeBSD.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      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="moz-txt-link-freetext" moz-do-not-send="true">domagoj.stolfa@gmail.com</a>&gt;
            wrote:</div>
          <div class="">
            <div class="">
              <p class=""><br class="">
              </p>
              <div class="">
                <div class="">        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  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>
    </blockquote>
  </body>
</html>

--------------kRyG1WwOLVXjXWkrc6dvtaNi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12978a6c-3d61-7684-c234-26e03131dcd8>