Loading...
stdlib/strfmon.3 Libc-763.13 Libc-498.1.1
--- Libc/Libc-763.13/stdlib/strfmon.3
+++ Libc/Libc-498.1.1/stdlib/strfmon.3
@@ -1,5 +1,3 @@
-.\"	$NetBSD: strfmon.3,v 1.3 2005/04/04 08:19:00 wiz Exp $
-.\"
 .\" Copyright (c) 2001 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>
 .\" All rights reserved.
 .\"
@@ -24,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.\" 	From: FreeBSD: Id: strfmon.3,v 1.7 2003/01/06 06:21:25 tjr Exp
+.\" $FreeBSD: src/lib/libc/stdlib/strfmon.3,v 1.7 2003/01/06 06:21:25 tjr Exp $
 .\"
 .Dd October 12, 2002
 .Dt STRFMON 3
@@ -33,8 +31,8 @@
 .Nm strfmon ,
 .Nm strfmon_l
 .Nd convert monetary value to string
-.\" .Sh LIBRARY
-.\" .Lb libc
+.Sh LIBRARY
+.Lb libc
 .Sh SYNOPSIS
 .In monetary.h
 .Ft ssize_t
@@ -121,7 +119,7 @@
 A
 .Sq Cm \&.
 character followed by a decimal number specifying the number
-of digits after the radix character.
+the number of digits after the radix character.
 .It
 One of the following conversion specifiers:
 .Bl -tag -width "XXX"
@@ -167,20 +165,6 @@
 .It Bq Er ENOMEM
 Not enough memory for temporary buffers.
 .El
-.Sh EXAMPLE
-.Bd -literal -offset indent -compact
-  #include <stdio.h>
-  #include <monetary.h>
-  #include <locale.h>
-
-  int main() {
-          char buf[200];
-          setlocale(LC_ALL, "en_US");
-          (void)strfmon (buf, sizeof(buf)-1, "%n" , 123456.78);
-          printf("%s\n", buf);
-  }
-.Ed
-.Pp
 .Sh SEE ALSO
 .Xr localeconv 3 ,
 .Xr xlocale 3
@@ -199,7 +183,7 @@
 .Pp
 This manual page was written by
 .An Jeroen Ruigrok van der Werven Aq asmodai@FreeBSD.org
-based on the standard's text.
+based on the standards' text.
 .Sh BUGS
 The
 .Fn strfmon