Date: Mon, 10 Apr 2000 14:23:21 -0600 From: Wes Peters <wes@softweyr.com> To: Brooks Davis <brooks@one-eyed-alien.net> Cc: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>, hackers@FreeBSD.ORG Subject: Re: mntent.h - what is it? Message-ID: <38F23839.1B21FF07@softweyr.com> References: <200004091630.SAA02426@gil.physik.rwth-aachen.de> <20000410114245.A11090@orion.ac.hmc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <mntent.h> !!!!!
> > #include <sys/stat.h>
> > #include <stdlib.h>
> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38F23839.1B21FF07>
