• 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: I confirmed ONE problem - not sure how to fix it though.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I confirmed ONE problem - not sure how to fix it though.


  • Subject: Re: I confirmed ONE problem - not sure how to fix it though.
  • From: Prachi Gauriar <email@hidden>
  • Date: Thu, 6 Apr 2006 01:50:24 -0400


On Apr 6, 2006, at 1:45 AM, John Draper wrote:

So - if I'm maxing it out to 100 bytes, I would use 101 for the length?

For strlcpy?

If you have a string buffer that has 101 allocated bytes, you call strlcpy with a length of 101. Your string can have a maximum length of 100 characters. The last byte is used for the null character.

Check out man strlcpy for more info.

-Prachi
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >I confirmed ONE problem - not sure how to fix it though. (From: John Draper <email@hidden>)
 >Re: I confirmed ONE problem - not sure how to fix it though. (From: "Sean McBride" <email@hidden>)
 >Re: I confirmed ONE problem - not sure how to fix it though. (From: Prachi Gauriar <email@hidden>)
 >Re: I confirmed ONE problem - not sure how to fix it though. (From: John Draper <email@hidden>)

  • Prev by Date: Re: I confirmed ONE problem - not sure how to fix it though.
  • Next by Date: Re: Seeking advice on debugging "real time" programs.
  • Previous by thread: Re: I confirmed ONE problem - not sure how to fix it though.
  • Next by thread: DWARF debug info is great
  • Index(es):
    • Date
    • Thread