Re: Getting current working directory
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com User-agent: Thunderbird 2.0b2 (Macintosh/20070116) You want getcwd(): More complete documentation available, of course, in the getcwd(3) manpage. --nat _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... Tony Scaminaci wrote: I'm trying to programatically get and save the current working directory using a low-level system call. "The getcwd() function copies the absolute pathname of the current working directory into the memory referenced by buf and returns a pointer to buf. The size argument is the size, in bytes, of the array referenced by buf." This email sent to site_archiver@lists.apple.com
participants (1)
-
Nat Lanza