This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Getting result of system call?
- To: gnu-win32 at cygnus dot com
- Subject: Getting result of system call?
- From: Andrew Mickish <mickish at cmu dot edu>
- Date: Wed, 21 Oct 1998 17:21:58 -0400
How can I obtain the output of a system call in windows? In particular, I
would like to get the volume serial number of the C: drive, which is
returned by by system call "cmd /c vol C:". I need more than an integer
saying whether the call succeeded; I need the text output of the call.
Thanks for your advice.
--Andrew Mickish
http://www.andrew.cmu.edu/~am2q/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".