• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting current working directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Getting current working directory (From: Tony Scaminaci <email@hidden>)
 >Re: Getting current working directory (From: Nat Lanza <email@hidden>)
 >Re: Getting current working directory (From: "subodh singh" <email@hidden>)

  • Prev by Date: Re: Getting current working directory
  • Next by Date: DMA Performance / IODMACommand / IOSubMemoryDescriptor / Segments
  • Previous by thread: Re: Getting current working directory
  • Next by thread: DMA Performance / IODMACommand / IOSubMemoryDescriptor / Segments
  • Index(es):
    • Date
    • Thread