From owner-freebsd-hackers Mon Sep 30 18:36:38 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36E4437B401 for ; Mon, 30 Sep 2002 18:36:38 -0700 (PDT) Received: from rootlabs.com (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 05B3E43E42 for ; Mon, 30 Sep 2002 18:36:38 -0700 (PDT) (envelope-from nate@rootlabs.com) Received: (qmail 83920 invoked by uid 1000); 1 Oct 2002 01:36:39 -0000 Date: Mon, 30 Sep 2002 18:36:39 -0700 (PDT) From: Nate Lawson To: hackers@freebsd.org Subject: proper printf fmt type for off_t? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What's the portable way of printing an off_t? It should work on Linux and FreeBSD. Linux seems to recommend casting the off_t to intmax_t which isn't present in FreeBSD. This is in usermode. Thanks, -Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message