From owner-freebsd-hackers Mon Apr 10 13:23: 1 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from obie.softweyr.com (obie.softweyr.com [204.68.178.33]) by hub.freebsd.org (Postfix) with ESMTP id 28EE237B90F for ; Mon, 10 Apr 2000 13:22:56 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from softweyr.com (Foolstrustidentd@obie.softweyr.com [204.68.178.33]) by obie.softweyr.com (8.8.8/8.8.8) with ESMTP id OAA01719; Mon, 10 Apr 2000 14:22:42 -0600 (MDT) (envelope-from wes@softweyr.com) Message-ID: <38F23839.1B21FF07@softweyr.com> Date: Mon, 10 Apr 2000 14:23:21 -0600 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Brooks Davis Cc: Christoph Kukulies , hackers@FreeBSD.ORG Subject: Re: mntent.h - what is it? References: <200004091630.SAA02426@gil.physik.rwth-aachen.de> <20000410114245.A11090@orion.ac.hmc.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Brooks Davis wrote: > > On Sun, Apr 09, 2000 at 06:30:55PM +0200, Christoph Kukulies wrote: > > > > I'm trying to port quicktime for Linux to FreeBSD (xmovie). > > I'm stumbling across the following code fragment: > > > > #include !!!!! > > #include > > #include > [snip] > > > > is mntent a linux speciality? > > You really need a linux box to read manpages and browse headers on if > you're going to be porting software. The glibc manpages claim it's a > 4.3BSD features, but it's not mentioned in the 4.3 manpages on the > FreeBSD site. It looks to me like the closest thing you'll find is > getmntinfo(3). This is a SysV-ish way to get info about mounted filesystems, so the glibc manpage is completely stoned (imagine that). I know this existed in SVR2, at least. getmntinfo is definitely the equivalent BSD library function. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message