delorie.com/archives/browse.cgi | search |
From: | fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson) |
Subject: | Re: A call to find mounted dirs? |
21 May 1997 15:19:47 -0700 : | |
Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
Distribution: | cygnus |
Message-ID: | <199705211349.XAA03911.cygnus.gnu-win32@mundook.cs.mu.OZ.AU> |
Original-To: | kunglao AT prairienet DOT org |
Original-Cc: | gnu-win32 AT cygnus DOT com (Cygnus GNU-win32 mailing list) |
In-Reply-To: | <199705202137.QAA19342@bluestem.prairienet.org> from "kunglao@prairienet.org" at May 20, 97 04:40:37 pm |
X-Mailer: | ELM [version 2.4 PL24] |
Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
kunglao AT prairienet DOT org, you wrote: > > Is there any gnu-win32 functions that I can use to get the list of > mounted dirs, and their DOS paths? Yes, setmntent() and getmntent(). See the show_mount() function in winsup/utils/mount.cc for an example. Or alternatively, you could just use system("mount"). -- Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au> | "I have always known that the pursuit WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit" PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3 | -- the last words of T. S. Garp. - 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".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |