delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/18/16:21:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <4123B9F3.7010906@alltel.net>
Date: Wed, 18 Aug 2004 15:20:03 -0500
From: Ken Dibble <kdibbleNOSPAM AT alltel DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Cygwin function for getting the current directory?
References: <008001c4855c$5ff6c5f0$b200a8c0 AT mindcooler>
In-Reply-To: <008001c4855c$5ff6c5f0$b200a8c0@mindcooler>

I am assuming that English is not your first language.
Cygwin-function doesn't really have a meaning.
Cygwin is a POSIX emulation layer for Windows.

I am inferring from the phrase "Win32's GetCurrentDirectory()"
that you are programming in some compiled language, most likely C or C++.

If the above assumptions are true then you probably need to download 
some development documentation.
You probably want the man page for getcwd().

A good place to start reading would be the cygwin website.  Especially 
parts about problems, asking questions,
the cygwin API, and programming questions.

Good Luck

Mikael Åsberg wrote:

> What's a Cygwin-function for getting the current directory? I don't 
> want to use Win32's GetCurrentDirectory(), becuase I am developing a 
> program that I want to be able to port to Linux with smallest possible 
> effort.
> What part of Cygwin's documentation have I failed to notice since I 
> couldn't answer this question myself?
>
> Thanks for any help!
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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