Re: I confirmed ONE problem - not sure how to fix it though.
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