{"id":753,"date":"2013-01-30T14:30:42","date_gmt":"2013-01-30T14:30:42","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=753"},"modified":"2014-09-26T15:05:28","modified_gmt":"2014-09-26T15:05:28","slug":"exit-to-terminate-application","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/programming-in-c\/exit\/exit-to-terminate-application","title":{"rendered":"Exit To Terminate Application"},"content":{"rendered":"<p>\n&nbsp;\n<\/p>\n<h4>\nExit Application<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tif (some_value == 1)\r\n\t{\r\n\t\texit(EXIT_FAILURE);\r\n\t}\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<h4>\nExiting With Success<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\texit(EXIT_SUCCESS);\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Exit Application if (some_value == 1) { exit(EXIT_FAILURE); } &nbsp; Exiting With Success exit(EXIT_SUCCESS); &nbsp; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-753","post","type-post","status-publish","format-standard","hentry","category-exit"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/753","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=753"}],"version-history":[{"count":2,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/753\/revisions"}],"predecessor-version":[{"id":1765,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/753\/revisions\/1765"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}