From owner-freebsd-doc Sun Jul 23 1:40: 4 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B076537B6A5 for ; Sun, 23 Jul 2000 01:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA86883; Sun, 23 Jul 2000 01:40:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from eeyore.local.dohd.org (d0030.dtk.chello.nl [213.46.0.30]) by hub.freebsd.org (Postfix) with ESMTP id B096137BB60 for ; Sun, 23 Jul 2000 01:31:31 -0700 (PDT) (envelope-from xaa@dohd.cx) Received: from tiggr.local.dohd.org (tiggr.local.dohd.org [::ffff:10.0.0.10]) by eeyore.local.dohd.org (Postfix+IPv6) with ESMTP id 474AFBA9F for ; Sun, 23 Jul 2000 10:31:29 +0200 (MET DST) Received: by tiggr.local.dohd.org (Postfix, from userid 1002) id 268EB5D75; Sun, 23 Jul 2000 10:31:25 +0200 (CEST) Message-Id: <20000723083125.268EB5D75@tiggr.local.dohd.org> Date: Sun, 23 Jul 2000 10:31:25 +0200 (CEST) From: xaa@dohd.org Reply-To: xaa@dohd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/20117: *printf manpage doesn't document %n Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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