From: sos AT prospect DOT com DOT ru (Sergey Okhapkin) Subject: RE: Mount table 27 May 1997 00:55:27 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <01BC6A8C.A7AE1260.cygnus.gnu-win32@gater.krystalbank.msk.ru> Original-To: "gnu-win32 AT cygnus DOT com" , "'pete AT horus DOT cix DOT co DOT uk'" Encoding: 26 TEXT Original-Sender: owner-gnu-win32 AT cygnus DOT com Pete Jordan wrote: > I don't have any of the sources here ATM, but what's another 7MB down my > dialup link anyhow :) > #include #include main() { FILE *m; struct mntent *mnt; if(m=setmntent(MOUNTED, "r")) { while(mnt=getmntent(m)) printf("%-30s\t%s\n", mnt->mnt_fsname, mnt->mnt_dir); endmntent(m); } } -- Sergey Okhapkin Moscow, Russia Looking for a job. - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".