
{"id":364,"date":"2010-01-17T15:47:45","date_gmt":"2010-01-17T15:47:45","guid":{"rendered":"http:\/\/froisa.com\/?p=364"},"modified":"2010-01-17T15:47:45","modified_gmt":"2010-01-17T15:47:45","slug":"part-of-the-original-file-uname-c","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/01\/17\/part-of-the-original-file-uname-c\/","title":{"rendered":"part of the original file [ uname.c ]"},"content":{"rendered":"<pre class=\"brush:c\">\n\/* uname -- print system information\n\n   Copyright (C) 1989, 1992, 1993, 1996, 1997, 1999-2005,\n   2007-2009 Free Software Foundation, Inc.\n\n   This program is free software: you can redistribute it and\/or modify\n   it under the terms of the GNU General Public License as published by\n   the Free Software Foundation, either version 3 of the License, or\n   (at your option) any later version.\n\n   This program is distributed in the hope that it will be useful,\n   but WITHOUT ANY WARRANTY; without even the implied warranty of\n   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n   GNU General Public License for more details.\n\n   You should have received a copy of the GNU General Public License\n   along with this program.  If not, see .  *\/\n\n\/* Written by David MacKenzie  *\/\n\n    \/* This kludge works around a bug in Mac OS X.  *\/\n          if (element == unknown)\n            {\n              cpu_type_t cputype;\n              size_t s = sizeof cputype;\n              NXArchInfo const *ai;\n              if (sysctlbyname (\"hw.cputype\", &amp;cputype, &amp;s, NULL, 0) == 0\n                  &amp;&amp; (ai = NXGetArchInfoFromCpuType (cputype,\n                                                     CPU_SUBTYPE_MULTIPLE))\n                  != NULL)\n                element = ai-&gt;name;\n<\/pre>\n<p><a href=\"http:\/\/en.wikipedia.org\/wiki\/Kludge\"> http:\/\/en.wikipedia.org\/wiki\/Kludge<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/* uname &#8212; print system information Copyright (C) 1989, 1992, 1993, 1996, 1997, 1999-2005, 2007-2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and\/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/01\/17\/part-of-the-original-file-uname-c\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;part of the original file [ uname.c ]&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[998],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/364"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=364"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/364\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}