Older Newer
Wed, 24 May 2017 05:05:31 . . . . SyneRyder [Changing int pointer to void pointer, fixing typo]


Changes by last author:

Added:
= fputc =

== Syntax ==

:int fputc(int c, void * filepointer)

== Arguments ==

:c

::An integer containing a byte value.

:filepointer

::Pointer to a file opened using fopen.

== Return ==

:The value of c if successful, otherwise -1.

== Description ==

:Write a single byte, contained in variable c to the file referenced by filepointer.

== Also see ==

:fopen, fgetc, putc, fputs

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.