Date: Sun, 23 Jul 2000 10:31:25 +0200 (CEST) From: xaa@dohd.org To: FreeBSD-gnats-submit@freebsd.org Subject: docs/20117: *printf manpage doesn't document %n Message-ID: <20000723083125.268EB5D75@tiggr.local.dohd.org>
next in thread | raw e-mail | index | archive | help
>Number: 20117
>Category: docs
>Synopsis: *printf manpage doesn't document %n
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jul 23 01:40:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Mark Huizer
>Release: FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
>Description:
I tried to look up the actions of printf("%n"), but it wasn't
in the manpage, only in the code
>How-To-Repeat:
>Fix:
This is a lousy bit of description for what it does, but well,
it's better than nothing.
(Before Format:)
Result type:
An optional character that indicates the type of the value for
use with format characters n, i, o, u and x. 'q' (or 'll') stands
for a quad int, 'l' for a long int, 'h' for a short int. Int is
default.
In the format characters:
n Returns the amount of characters output so far, including
formating actions. Requires a pointer value to write the value
to. Beware: this changes your parameter!
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000723083125.268EB5D75>
