From: sos@prospect.com.ru (Sergey Okhapkin)
Subject: RE: getcwd() and sysdrive
16 May 1997 16:56:43 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <01BC61F7.FE236480.cygnus.gnu-win32@gater.krystalbank.msk.ru>
Original-To: Cygnus Discussion <GNU-Win32@cygnus.com>,
        "'Ernest Crvich'"
	 <crvich@raleigh.ibm.com>
Encoding: 12 TEXT
Original-Sender: owner-gnu-win32@cygnus.com

Ernest Crvich wrote:
> 	I just noticed that getcwd() doesn't return the drive in the path
> for the system drive (e.g., if C: is the sysdrive and you're in \DIR, getcwd()
> returns "/DIR").  Furthermore, if you're in the root directory of the system

Getcwd() returns cwd in "posix" notation.

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job.


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
