<title>Files - Character I/P & O/P functions.</title> <head> <script language="JavaScript"> </script> </head> <body bgcolor="#ffffcc"> <hr> <center> <h1>Files - character I/P & O/P functions.</h1> </center> <hr> The following functions allow you to read & write characters in files. <p> <hr> <h2>man pages. </h2> <a href="../MAN/fputs.htm">fputs</a> Write a string. <p> <a href="fgetc.html">fgetc</a> Read a character. <p> <a href="fgetc.html">getc</a> Read a character. <p> <a href="fputc.html">fputc</a> Write a character to a file. <p> <a href="../MAN/ungetc.htm">ungetc</a> Return a character. <p> <a href="puts.html">puts</a> Write a string. <p> <a href="../MAN/fputs.htm">putchar</a> Write a string. <p> <a href="../MAN/fputs.htm">putc</a> Write a string. <p> <a href="gets.html">gets</a> Read a string. <p> <a href="getchar.html">getchar</a> Read a character. <hr> <h2>Some of my notes</h2> <a href="fopen.html">fopen</a> Open a file for read or write. <p> <a href="fputc.html">fputc</a> Write a character to a file. <p> <a href="fclose.html">fclose</a> Close a file. <hr> <a href="../EXAMPLES/read_file.c">Example program.</a> <p> <hr> <p> <center> <table border=2 width="80%" bgcolor="ivory"> <tr align=center> <td width="25%"> <a href="../cref.html"> Top</a> </td><td width="25%"> <a href="../master_index.html"> Master Index</a> </td><td width="25%"> <a href="../SYNTAX/keywords.html"> Keywords</a> </td><td width="25%"> <a href="funcref.htm"> Functions</a> </td> </tr> </table> </center> <p> <hr> <address>Martin Leslie </address><p> </body> </html> summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt'> <input type='hidden' name='id' value='5db4992d8f040b8d8db0b86d42806e0c417f7ccf'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>Documentation</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>devicetree</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>bindings</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/fpga?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>fpga</a>/<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf'>xilinx-zynq-fpga-mgr.txt</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/Documentation/devicetree/bindings/fpga/xilinx-zynq-fpga-mgr.txt?id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>