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>
...
int mpeg2io_device(mpeg2_fs_t *fs, char *device)
{
        struct stat file_st, device_st;
    struct mntent *mnt;
        FILE *fp;

        if(stat(fs->path, &file_st) < 0)
        {
                perror("mpeg2io_device");
                return 1;
        }
 
        fp = setmntent(MOUNTED, "r");
    while(fp && (mnt = getmntent(fp)))
        {

....

is mntent a linux speciality?


-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to