Date: Sun, 9 Apr 2000 18:30:55 +0200 (CEST) From: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE> To: hackers@freebsd.org Subject: mntent.h - what is it? Message-ID: <200004091630.SAA02426@gil.physik.rwth-aachen.de>
next in thread | raw e-mail | index | archive | help
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 kuku@gil.physik.rwth-aachen.de 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?200004091630.SAA02426>