From owner-freebsd-stable Tue Oct 1 9:22:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF3C437B401 for ; Tue, 1 Oct 2002 09:22:33 -0700 (PDT) Received: from mail011.syd.optusnet.com.au (mail011.syd.optusnet.com.au [210.49.20.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id BCF4043E4A for ; Tue, 1 Oct 2002 09:22:32 -0700 (PDT) (envelope-from darkmoon@optushome.com.au) Received: from haplo.localdomain (c16973.brasd1.vic.optusnet.com.au [210.49.154.86]) by mail011.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id g91GMQN08450; Wed, 2 Oct 2002 02:22:27 +1000 Received: from haplo.localdomain (localhost [127.0.0.1]) by haplo.localdomain (8.12.5/8.12.5) with ESMTP id g91GMP2Y004897; Wed, 2 Oct 2002 02:22:26 +1000 (EST) (envelope-from darkmoon@haplo.localdomain) Received: (from darkmoon@localhost) by haplo.localdomain (8.12.5/8.12.5/Submit) id g91GMOHB004893; Wed, 2 Oct 2002 02:22:24 +1000 (EST) Date: Wed, 2 Oct 2002 02:22:24 +1000 From: Emil Mikulic To: Kris Kennaway Cc: stable@freebsd.org Subject: Re: rstat() Message-ID: <20021001162223.GA4426@haplo.brasd1.vic.optusnet.com.au> References: <001201c26871$136fc380$0100a8c0@coren> <20021001152629.GA46387@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021001152629.GA46387@xor.obsecurity.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-PRERELEASE i386 X-Written-On: haplo Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 01, 2002 at 08:26:29AM -0700, Kris Kennaway wrote: > On Mon, Sep 30, 2002 at 09:03:57PM +1000, Emil Mikulic wrote: > > Why doesn't rstat() have a manpage or a function prototype in the > > /usr/include/rpcsvc/rstat.h header? > > Maybe it is supposed to be internal-use-only. IIRC, the xmeter manpage says that xmeter uses rstat() to get its stats. Also, Solaris has an rstat() manpage, and I wrote a program that uses the rstat() call which works identically under Solaris and FreeBSD, except that under FreeBSD I get a compiler warning about not having a prototype for the rstat() function. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message