From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Current working directory & at&t assembler Date: Wed, 16 Jul 1997 20:55:26 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 17 Message-ID: <33CD353E.1364@cs.com> References: <19970716191000 DOT PAA05698 AT ladder02 DOT news DOT aol DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp201.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk XCapnKev wrote: > > I've recently downloaded djgpp, as to be able to easier port the programs > I write in dos to linux. What I'm doing now is strictly a DOS problem, > which is getting the current directory. I could have missed a libc > function, but I'm pretty sure I just need to write one. I've got the > assembler calls to do it, but I haven't the faintest how at&t assembly is Try 'getcwd()'. -- --------------------------------------------------------------------- | John M. Aldrich, aka Fighteer I | mailto:fighteer AT cs DOT com | | God's final message to His Creation: | http://www.cs.com/fighteer | | "We apologize for the inconvenience."| <<< This tagline under >>> | | - Douglas Adams | <<< construction >>> | ---------------------------------------------------------------------