Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/gen/fmtcheck.3,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/gen/fmtcheck.3,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- src/lib/libc/gen/fmtcheck.3 2009/03/09 19:24:26 1.7 +++ src/lib/libc/gen/fmtcheck.3 2014/06/14 08:18:24 1.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: fmtcheck.3,v 1.7 2009/03/09 19:24:26 joerg Exp $ +.\" $NetBSD: fmtcheck.3,v 1.8 2014/06/14 08:18:24 apb Exp $ .\" .\" Copyright (c) 2000 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -26,7 +26,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd October 17, 2000 +.Dd June 14, 2014 .Dt FMTCHECK 3 .Os .Sh NAME @@ -77,11 +77,13 @@ Also, any text other than the format spe .Pp Note that the formats may be quite different as long as they accept the same parameters. -For example, "%p %o %30s %#llx %-10.*e %n" is +For example, "%ld %o %30s %#llx %-10.*e %n" is compatible with "This number %lu %d%% and string %s has %qd numbers and %.*g floats (%n)." However, "%o" is not equivalent to "%lx" because -the first requires an integer and the second requires a long. +the first requires an integer and the second requires a long, +and "%p" is not equivalent to "%lu" because +the first requires a pointer and the second requires a long. .Sh RETURN VALUES If .Fa fmt_suspect