printf.3 (57686) | printf.3 (57695) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek and the American National Standards Committee X3, 6.\" on Information Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)printf.3 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek and the American National Standards Committee X3, 6.\" on Information Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)printf.3 8.1 (Berkeley) 6/4/93 |
37.\" $FreeBSD: head/lib/libc/stdio/printf.3 57686 2000-03-02 09:14:21Z sheldonh $ | 37.\" $FreeBSD: head/lib/libc/stdio/printf.3 57695 2000-03-02 14:54:02Z sheldonh $ |
38.\" 39.Dd June 4, 1993 40.Dt PRINTF 3 41.Os 42.Sh NAME 43.Nm printf , 44.Nm fprintf , 45.Nm sprintf , --- 493 unchanged lines hidden (view full) --- 539The number of characters written so far is stored into the 540integer indicated by the 541.Dq Em int * 542(or variant) pointer argument. 543No argument is converted. 544.It Cm % 545A 546.Ql % | 38.\" 39.Dd June 4, 1993 40.Dt PRINTF 3 41.Os 42.Sh NAME 43.Nm printf , 44.Nm fprintf , 45.Nm sprintf , --- 493 unchanged lines hidden (view full) --- 539The number of characters written so far is stored into the 540integer indicated by the 541.Dq Em int * 542(or variant) pointer argument. 543No argument is converted. 544.It Cm % 545A 546.Ql % |
547is written. No argument is converted. | 547is written. 548No argument is converted. |
548The complete conversion specification 549is 550.Ql %% . 551.El 552.Pp 553In no case does a non-existent or small field width cause truncation of 554a field; if the result of a conversion is wider than the field width, the 555field is expanded to contain the conversion result. --- 102 unchanged lines hidden --- | 549The complete conversion specification 550is 551.Ql %% . 552.El 553.Pp 554In no case does a non-existent or small field width cause truncation of 555a field; if the result of a conversion is wider than the field width, the 556field is expanded to contain the conversion result. --- 102 unchanged lines hidden --- |