Dave wrote:

I'm fairly new to Cocoa and was wondering if there are OS functions
to Copy and Clear/Fill Memory available?

I've tried searching for obvious names like MemoryZero, ZeroMemory,
CopyMemory etc. but can't seem to find anything.

If you want to fill an existing buffer with a specific byte value, memset() is your friend. If you want to allocate a new buffer cleared to 00, calloc().
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to