Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Subject: Re: Cygwin function for getting the current directory? References: <008001c4855c$5ff6c5f0$b200a8c0 AT mindcooler> In-Reply-To: <008001c4855c$5ff6c5f0$b200a8c0@mindcooler> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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/