{"id":2022,"date":"2015-06-09T12:04:29","date_gmt":"2015-06-09T12:04:29","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=2022"},"modified":"2015-06-09T12:05:07","modified_gmt":"2015-06-09T12:05:07","slug":"memset","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/memory\/memory-functions\/memset","title":{"rendered":"memset"},"content":{"rendered":"<p>\nSets all of the bytes in a block of memory to a&nbsp;specified value\n<\/p>\n<pre>\r\n<code>\r\n\tmemset(my_buffer, 0x00, sizeof(my_buffer));\t\t\/\/Set entire my_buffer to 0x00\r\n<\/code><\/pre>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sets all of the bytes in a block of memory to a&nbsp;specified value memset(my_buffer, 0x00, sizeof(my_buffer)); \/\/Set entire my_buffer to 0x00 &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[98],"tags":[],"class_list":["post-2022","post","type-post","status-publish","format-standard","hentry","category-memory-functions"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=2022"}],"version-history":[{"count":2,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2022\/revisions"}],"predecessor-version":[{"id":2024,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/2022\/revisions\/2024"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=2022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=2022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=2022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}