aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strfmon.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/strfmon.3')
-rw-r--r--man3/strfmon.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man3/strfmon.3 b/man3/strfmon.3
index ad17ea5c9a..e580d436f9 100644
--- a/man3/strfmon.3
+++ b/man3/strfmon.3
@@ -129,20 +129,20 @@ Not in POSIX.1-2001.
Present on several other systems.
.SH EXAMPLE
The call
-.RS
+.in +4n
.nf
strfmon(buf, sizeof(buf), "[%^=*#6n] [%=*#6i]",
1234.567, 1234.567);
.fi
-.RE
+.in
outputs
-.RS
+.in +4n
[ fl **1234,57] [ NLG **1 234,57]
-.RE
+.in
in the Dutch locale (with fl for "florijnen" and NLG for Netherlands Guilders).
The grouping character is very ugly because it takes as much space
as a digit, while it should not take more than half that,
@@ -152,7 +152,7 @@ and "NLG" is preceded by one and followed by two spaces.
This may be a bug in the locale files.
The Italian, Australian, Swiss
and Portuguese locales yield
-.RS
+.in +4n
[ L. **1235] [ ITL **1.235]
.br
@@ -161,7 +161,7 @@ and Portuguese locales yield
[Fr. **1234,57] [CHF **1.234,57]
.br
[ **1234$57Esc] [ **1.234$57PTE ]
-.RE
+.in
.SH "SEE ALSO"
.BR setlocale (3),
.BR sprintf (3),