CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 1 match
CCS Forum Index
Author Message
  Topic: using memset to erase buffer within a structure
Liamthesnake

Replies: 3
Views: 6225

PostForum: General CCS C Discussion   Posted: Fri Sep 10, 2010 10:10 am   Subject: using memset to erase buffer within a structure
Hi all

I'm erasing a buffer using memset. If this was a normal buffer it would be

memset(buffer,0,sizeof(buffer));

and to erase a structure it would be

memset(&stru ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group