diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2005-09-23 02:33:35 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2005-09-23 02:33:35 +0000 |
commit | 075f844a35962cf0dc706846d24539fc738ddbdc (patch) | |
tree | 07cb2c7cf6b5fd29c58fe47eaba7dc2a970ef076 /lib/libc/stdio/printf.3 | |
parent | 5eeb691a00198c1bd1cfbeb1b97c53f7f3af255b (diff) |
support %jd from c99, although intmax_t may not be available.
ok deraadt espie kettenis
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r-- | lib/libc/stdio/printf.3 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 0678581bff4..e6fe04825f7 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.3,v 1.49 2005/07/26 03:30:25 jaredy Exp $ +.\" $OpenBSD: printf.3,v 1.50 2005/09/23 02:33:34 tedu Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -304,6 +304,21 @@ string for conversions. .It The optional character +.Cm j , +specifying that a following +.Cm d , +.Cm i , +.Cm o , +.Cm u , +.Cm x , +or +.Cm X +conversion corresponds to an +.Li intmax_t +or +.Li uintmax_t +argument. +The optional character .Cm h , specifying that a following .Cm d , |