Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2020 13:28:56 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        FreeBSD Current <freebsd-current@FreeBSD.org>
Cc:        freebsd-dtrace@freebsd.org
Subject:   dtrace: give %'d a chance?
Message-ID:  <d832ce96-c7a9-7aac-b761-27522a02d0ef@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

what do people think about adding
    setlocale(LC_NUMERIC, "");
to dtrace's main function?

My primary interest is to (pretty-)print some numbers with a thousands separator.

Not sure if any other LC_ types are worth bothering.

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d832ce96-c7a9-7aac-b761-27522a02d0ef>