delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/16/16:56:43

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019