From 64a8fdb22167aa0f4ef94e08422e8e3b2b4a7024 Mon Sep 17 00:00:00 2001 From: jmc Date: Tue, 13 May 2014 20:51:00 +0000 Subject: for non-valid combinations with `#', instead of trying to list them all, simply say all other combinations are behaviour undefined; ok guenther, who reminded me to change these too; --- lib/libc/stdio/printf.3 | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'lib/libc/stdio/printf.3') diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 8a2a76eebad..75e1949fe88 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: printf.3,v 1.68 2014/05/09 05:14:17 deraadt Exp $ +.\" $OpenBSD: printf.3,v 1.69 2014/05/13 20:51:00 jmc Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -33,7 +33,7 @@ .\" .\" @(#)printf.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: May 9 2014 $ +.Dd $Mdocdate: May 13 2014 $ .Dt PRINTF 3 .Os .Sh NAME @@ -188,16 +188,6 @@ A hash character specifying that the value should be converted to an ``alternate form''. For -.Cm c , -.Cm d , -.Cm i , -.Cm n , -.Cm p , -.Cm s , -and -.Cm u -conversions, this option has no effect. -For .Cm o conversions, the precision of the number is increased to force the first character of the output string to a zero (except if a zero value is printed @@ -232,6 +222,7 @@ and .Cm G conversions, trailing zeros are not removed from the result as they would otherwise be. +For all other formats, behaviour is undefined. .It A zero .Sq Cm \&0 -- cgit v1.2.3-59-g8ed1b