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
[EMAIL PROTECTED] http://softweyr.com/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message