Re: Getting current working directory
Re: Getting current working directory
- Subject: Re: Getting current working directory
- From: Steve Checkoway <email@hidden>
- Date: Mon, 29 Jan 2007 02:04:54 -0800
On Jan 28, 2007, at 10:08 PM, subodh singh wrote:
You can aalso try the same by using getwd() POSIX API.
According to the man page, getcwd conforms to POSIX.1 while getwd was
in 4.0BSD. In addition,
The getwd() function does not do sufficient error checking and
is not
able to return very long, but valid, paths. It is provided for
compati-
bility.
In other words, do not use getwd.
--
Steve Checkoway
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden