| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: strfmon.3,v 1.6 2017/08/16 13:53:20 joerg Exp $ | | 1 | .\" $NetBSD: strfmon.3,v 1.7 2017/08/16 17:41:36 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2001 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | | 3 | .\" Copyright (c) 2001 Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
| @@ -44,29 +44,29 @@ | | | @@ -44,29 +44,29 @@ |
44 | The | | 44 | The |
45 | .Fn strfmon | | 45 | .Fn strfmon |
46 | function places characters into the array pointed to by | | 46 | function places characters into the array pointed to by |
47 | .Fa s | | 47 | .Fa s |
48 | as controlled by the string pointed to by | | 48 | as controlled by the string pointed to by |
49 | .Fa format . | | 49 | .Fa format . |
50 | No more than | | 50 | No more than |
51 | .Fa maxsize | | 51 | .Fa maxsize |
52 | bytes are placed into the array. | | 52 | bytes are placed into the array. |
53 | .Pp | | 53 | .Pp |
54 | The | | 54 | The |
55 | .Fn strfmon_l | | 55 | .Fn strfmon_l |
56 | function behaves the same as | | 56 | function behaves the same as |
57 | .fn strfmon , | | 57 | .Fn strfmon , |
58 | but uses the locale | | 58 | but uses the locale |
59 | .Fa loc | | 59 | .Fa loc |
60 | instead of the process global locale. | | 60 | instead of the process global locale. |
61 | .Pp | | 61 | .Pp |
62 | The format string is composed of zero or more directives: | | 62 | The format string is composed of zero or more directives: |
63 | ordinary characters (not | | 63 | ordinary characters (not |
64 | .Cm % ) , | | 64 | .Cm % ) , |
65 | which are copied unchanged to the output stream; and conversion | | 65 | which are copied unchanged to the output stream; and conversion |
66 | specifications, each of which results in fetching zero or more subsequent | | 66 | specifications, each of which results in fetching zero or more subsequent |
67 | arguments. | | 67 | arguments. |
68 | Each conversion specification is introduced by the | | 68 | Each conversion specification is introduced by the |
69 | .Cm % | | 69 | .Cm % |
70 | character. | | 70 | character. |
71 | After the | | 71 | After the |
72 | .Cm % , | | 72 | .Cm % , |