This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: getcwd() and sysdrive


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]