
{"id":1312,"date":"2010-04-04T18:05:43","date_gmt":"2010-04-04T12:35:43","guid":{"rendered":"http:\/\/froisa.com\/?p=1312"},"modified":"2010-04-04T18:05:43","modified_gmt":"2010-04-04T12:35:43","slug":"__fpending-programming","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2010\/04\/04\/__fpending-programming\/","title":{"rendered":"__fpending  programming"},"content":{"rendered":"<p>The __fpending() function returns the number of bytes in the output buffer. For wide-oriented streams the unit is wide characters. This function is undefined on buffers in reading mode, or opened read-only.<\/p>\n<p>On POSIX-compliant platforms, SIGSEGV is the signal sent to a process when it makes an invalid memory reference, or segmentation fault.<\/p>\n<pre class=\"brush:c\">\n#include&lt;stdio.h&gt;\n#include&lt;stdio_ext.h&gt;\nmain()\n{\nsize_t love;\nFILE *ptr;\nptr=fopen(\"home\/jeffrin\/tester\", \"w\");\nlove= __fpending(ptr);\n printf(\"\\n %p \\n\",love);\n}\n<\/pre>\n<p>(gdb) r<br \/>\nStarting program: \/home\/jeffrin\/a.out<\/p>\n<p>Program received signal SIGSEGV, Segmentation fault.<br \/>\n__fpending (fp=0x0) at __fpending.c:24<br \/>\n24\t  if (fp-&gt;_mode &gt; 0)<\/p>\n<pre class=\"brush:c\">\n#include&lt;stdio.h&gt;\n#include&lt;stdio_ext.h&gt;\nmain()\n{\nsize_t love;\nFILE *ptr;\nptr=fopen(\"\/home\/jeffrin\/tester\", \"w\");\nlove= __fpending(ptr);\nprintf(\"\\n %d \\n\",love);\n}\n<\/pre>\n<p style=\"background-color:pink;\">\n<a> http:\/\/www.packetstormsecurity.org\/groups\/synnergy\/dtors.txt<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The __fpending() function returns the number of bytes in the output buffer. For wide-oriented streams the unit is wide characters. This function is undefined on buffers in reading mode, or opened read-only. On POSIX-compliant platforms, SIGSEGV is the signal sent to a process when it makes an invalid memory reference, or segmentation fault. #include&lt;stdio.h&gt; #include&lt;stdio_ext.h&gt; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2010\/04\/04\/__fpending-programming\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;__fpending  programming&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[1035,1491,1492,1733],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1312"}],"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=1312"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/1312\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=1312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=1312"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=1312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}