<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://code-reference.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://code-reference.com/feed.php">
        <title>Programming | Library | Reference - Code-Reference.com c:stdio.h</title>
        <description></description>
        <link>https://code-reference.com/</link>
        <image rdf:resource="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico" />
       <dc:date>2026-05-18T13:44:46+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/bufsiz?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/clearerr?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fclose?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fdopen?rev=1361800230&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/feof?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/ferror?rev=1374831141&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fflush?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fgetpos?rev=1361069952&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fgets?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/file?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fopen?rev=1430730823&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fpos_t?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fputc?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fputs?rev=1357591171&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/freopen?rev=1708041945&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/fwrite?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/getc?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/gets?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/perror?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/printf?rev=1408637388&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/putc?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/putchar?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/puts?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/remove?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/rename?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/rewind?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/scanf?rev=1400361063&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/setbuf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/setvbuf?rev=1708041944&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/snprintf?rev=1361804212&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/sprintf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/sscanf?rev=1708041941&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/tmpnam?rev=1708041939&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vfprintf?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vfscanf?rev=1361805756&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vprintf?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vscanf?rev=1708041942&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vsprintf?rev=1708041943&amp;do=diff"/>
                <rdf:li rdf:resource="https://code-reference.com/c/stdio.h/vsscanf?rev=1361806054&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico">
        <title>Programming | Library | Reference - Code-Reference.com</title>
        <link>https://code-reference.com/</link>
        <url>https://code-reference.com/ttps://code-reference.com/lib/tpl/dokuwiki/images/favicon.ico</url>
    </image>
    <item rdf:about="https://code-reference.com/c/stdio.h/bufsiz?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>BUFSIZ</title>
        <link>https://code-reference.com/c/stdio.h/bufsiz?rev=1708041944&amp;do=diff</link>
        <description>type Macro


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */
 
BUFSIZ


The value for BUFSIZ should normally be 256 KB, 512 KB or 4096 KB. This depends on the system and the compiler.

BUFSIZ C Sourcecode Example


/* 
 * BUFSIZ example code
 * http://code-reference.com/c/stdio.h/bufsiz 
 */
#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */



int main (void) {
    printf (&quot;The m…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/clearerr?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>clearerr</title>
        <link>https://code-reference.com/c/stdio.h/clearerr?rev=1708041944&amp;do=diff</link>
        <description>clearerr


    void clearerr(FILE *stream);


Description

The clearerr function resets the error flags and EOF indicator for the given stream.

When an error occurs, you can use |perror()| to figure out which error actually occurred. 

clearerr C Sourcecode Example


/* 
 * clearerr example code
 * http://code-reference.com/c/stdio.h/clearerr 
 */
#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
  FILE *handle;
  ha…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fclose?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>fclose</title>
        <link>https://code-reference.com/c/stdio.h/fclose?rev=1708041942&amp;do=diff</link>
        <description>fclose


#include &lt;stdio.h&gt; /* including standard library */

    int fclose( FILE *stream );


Description

Close the current stream / file

Used to close the specified file (stream). You should always use this function, to clean up after using a file. 

Any data that has been written to the file, but not actually made it that far yet, i.e. which has only been written to the file buffer in memory, 

will then be actually written to the physical file itself by the operating system. 

The space i…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fdopen?rev=1361800230&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T14:50:30+02:00</dc:date>
        <title>fdopen</title>
        <link>https://code-reference.com/c/stdio.h/fdopen?rev=1361800230&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
FILE *fdopen(int fildes, const char *mode);


description of fdopen

fdopen() is the counterpart to fileno(). As a mode, such as the file is opened, the same modes as the can open() can be used.

fdopen() is often applied to file descriptors that are returned from functions that set up the pipes or channels of communication in networks. This is because some functions like open(), dup(), dup2(), fcntl(), pipe(), ... in networks can not do anythi…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/feof?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>feof</title>
        <link>https://code-reference.com/c/stdio.h/feof?rev=1708041940&amp;do=diff</link>
        <description>int feof(FILE *stream);


checks that are applied to a stream or data or the end-of-file indicator is set.

Used to determine if the end of the file (stream) specified, has been reached. When a file is being read sequentially one line, or one piece of data at a time (by means of a loop, say), this is the function you check every iteration, to see if the end of the file has come.

Returns non-zero if end-of-file indicator is set for stream stream.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/ferror?rev=1374831141&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-07-26T11:32:21+02:00</dc:date>
        <title>ferror</title>
        <link>https://code-reference.com/c/stdio.h/ferror?rev=1374831141&amp;do=diff</link>
        <description>ferror


    int ferror(FILE *stream);


the function ferror tests the error indicator for the stream pointed to by stream, returning non-zero if it is set. The error indicator can only be reset by the clearerr function.
Returns non-zero if error indicator is set for stream stream.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fflush?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>fflush</title>
        <link>https://code-reference.com/c/stdio.h/fflush?rev=1708041940&amp;do=diff</link>
        <description>fflush


    int fflush(FILE *stream);


Flushes stream stream and returns zero on success or EOF on error. Effect undefined for input stream. fflush(NULL) flushes all output streams.

C Sourcecode Example


/* 
 * fflush example code
 * http://code-reference.com/c/stdio.h/fflush 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#define MAX 80
int main( void )
{
  FILE *filestream = fopen(&quot;test.txt&quot;, &quot;rt+&quot;);
  char buffer[MAX];
  i…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-12-04T13:27:53+02:00</dc:date>
        <title>fgetc</title>
        <link>https://code-reference.com/c/stdio.h/fgetc?rev=1417696073&amp;do=diff</link>
        <description>fgetc


    int fgetc ( FILE * stream );


Returns next character from (input) stream stream, or EOF on end-of-file or error.

C Sourcecode Example


/* 
 * fgetc example code
 * http://code-reference.com/c/stdio.h/fgetc 
 */


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
  FILE *stream;
  char c;

  if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
    printf(&quot;Cannot open file.\n&quot;);
    return 1;
  }

  while((c = fget…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fgetpos?rev=1361069952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-17T03:59:12+02:00</dc:date>
        <title>fgetpos</title>
        <link>https://code-reference.com/c/stdio.h/fgetpos?rev=1361069952&amp;do=diff</link>
        <description>int fgetpos(FILE *stream, fpos_t *pos);


Stores current file position for stream stream in *pos. Returns non-zero on error.

Description

The fgetpos() function stores the file position indicator of the given file stream in the given position variable.

The position variable is of type fpos_t (which is defined in stdio.h) and is an object that can hold every possible position in a FILE.

fgetpos() returns zero upon success, and a non-zero value upon failure.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fgets?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>fgets</title>
        <link>https://code-reference.com/c/stdio.h/fgets?rev=1708041940&amp;do=diff</link>
        <description>fgets


    char *fgets(char *str, int n, FILE *stream);


Copies characters from (input) stream stream to sstr, stopping when n-1 characters copied, newline copied, end-of-file reached or error occurs. If no error, str is NUL-terminated. Returns NULL on end-of-file or error, str otherwise.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/file?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>FILE</title>
        <link>https://code-reference.com/c/stdio.h/file?rev=1708041940&amp;do=diff</link>
        <description>FILE
 FILE Pointer (stream)
 shows on a given file
 // here is a better explanation necessary
C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main ( void )
{
FILE *filestream;

filestream=fopen(&quot;test.txt&quot;,&quot;r&quot;);

if (filestream == 0) {
perror(&quot;cannot open file&quot;);
}

fclose(filestream);
return 0;

}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fopen?rev=1430730823&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-05-04T11:13:43+02:00</dc:date>
        <title>fopen</title>
        <link>https://code-reference.com/c/stdio.h/fopen?rev=1430730823&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

FILE * fopen (const char * restrict path, const char * restrict mode)


Opens file named restrict path and returns a stream, or NULL on failure. mode may be one of the following for files or one of those strings with b included (after the first character), for binary files.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fpos_t?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>fpos_t</title>
        <link>https://code-reference.com/c/stdio.h/fpos_t?rev=1708041944&amp;do=diff</link>
        <description>Object containing information to specify a position within a file
This type of object is used to specify a position within a file. An object of this type is capable of specifying uniquely the position within a file.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fprintf</title>
        <link>https://code-reference.com/c/stdio.h/fprintf?rev=1708041941&amp;do=diff</link>
        <description>int fprintf(FILE *stream, const char *format, ...);


Converts (according to format format) and writes output to stream stream. Number of characters written, or negative value on error, is returned.



optional flag:



-  left adjust

+  always sign

0  zero pad

#  Alternate form: for conversion character o, first digit will be zero, for [xX], prefix 0x or 0X to non-zero value, for [eEfgG], always decimal point, for [gG] trailing zeros not removed. 



optional minimum width: if specified as *…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fputc?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fputc</title>
        <link>https://code-reference.com/c/stdio.h/fputc?rev=1708041941&amp;do=diff</link>
        <description>fputc


    int fputc(int ch, FILE *stream); 


Writes ch, to stream stream. Returns ch, or EOF on error.

C Sourcecode Example


/* 
 * fputc example code
 * http://code-reference.com/c/stdio.h/fputc 
 */


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

 
int main( void )
{
  FILE *stream, *stream_target;
  char c;
 
  if((stream=fopen(&quot;test.txt&quot;,&quot;rb&quot;))==NULL) {
    printf(&quot;Cannot open file.\n&quot;);
    return 1;
  }
 
  if((stream_targ…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>description</title>
        <link>https://code-reference.com/c/stdio.h/fputchar?rev=1708041943&amp;do=diff</link>
        <description>int fputchar( int c );


description

The fputchar() function writes the character specified by the argument c to the output stream stdout. This function is identical to the putchar() function. 

example


#include &lt;stdio.h&gt;

int main( void )
  {
    FILE *fp;
    int c;

    fp = fopen( &quot;file.txt&quot;, &quot;r&quot; );
    if( fp != NULL ) {
      c = fgetc( fp );
      while( c != EOF ) {
        fputchar( c );
        c = fgetc( fp );
      }
      fclose( fp );
    }
  }</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fputs?rev=1357591171&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-01-07T21:39:31+02:00</dc:date>
        <title>fputs</title>
        <link>https://code-reference.com/c/stdio.h/fputs?rev=1357591171&amp;do=diff</link>
        <description>int fputs(const char *str, FILE *stream); 


Writes str, to (output) stream stream. Returns non-negative on success or EOF on error.

C Sourcecode Example


/* 
 * fputs example code
 * http://code-reference.com/c/stdio.h/fputs 
 */


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

int main( void )
{     
  FILE *stream;
  
  if((stream=fopen(&quot;test.txt&quot;,&quot;w&quot;))==NULL) {
    printf(&quot;Cannot open file for writing.\n&quot;);
    return 1;
  }

  …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>fread</title>
        <link>https://code-reference.com/c/stdio.h/fread?rev=1708041943&amp;do=diff</link>
        <description>fread


    size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);


fread reads num number of objects from a stream (where each object is size bytes) and places them into the array pointed to by buffer. 
The return value of the function is the number of read data</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/freopen?rev=1708041945&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:45+02:00</dc:date>
        <title>freopen</title>
        <link>https://code-reference.com/c/stdio.h/freopen?rev=1708041945&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    FILE *freopen( const char *fname, const char *mode, FILE *stream );


closes file associated with stream, then opens file filename with specified mode and associates it with stream. Returns stream or NULL on error.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>fscanf</title>
        <link>https://code-reference.com/c/stdio.h/fscanf?rev=1708041942&amp;do=diff</link>
        <description>fscanf


    int fscanf(FILE *stream, const char *format, ...);


Performs formatted input conversion, reading from stream stream according to format format. The function returns when format is fully processed. Returns number of items converted and assigned, or EOF if end-of-file or error occurs before any conversion. Each of the arguments following format must be a pointer. Format string may contain:</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>fseek</title>
        <link>https://code-reference.com/c/stdio.h/fseek?rev=1708041941&amp;do=diff</link>
        <description>int fseek(FILE *stream, long int offset, int origin);


Sets file position for stream stream and clears end-of-file indicator. For a binary stream, file position is set to offset bytes from the position indicated by origin: beginning of file for SEEK_SET, current position for SEEK_CUR, or end of file for SEEK_END. Behaviour is similar for a text stream, but offset must be zero or, for SEEK_SET only, a value returned by ftell. Returns non-zero on error.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>fsetpos</title>
        <link>https://code-reference.com/c/stdio.h/fsetpos?rev=1708041944&amp;do=diff</link>
        <description>int fsetpos(FILE *stream, const fpos_t *pos); 


reset the position indicator to  using fsetpos()
stores the current file position indicator to the location indicated by the information in pos
Returns non-zero on error.

C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
    FILE *stream;
    fpos_t file_pos;
    int c;
    int i;

    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Ca…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>ftell</title>
        <link>https://code-reference.com/c/stdio.h/ftell?rev=1708041940&amp;do=diff</link>
        <description>ftell


    long int ftell(FILE *stream);


Returns current file position for stream stream, or -1 on error.

C Sourcecode Example


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

 
int main( void )
{
    FILE *stream;
    int c;
 
    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Cannot open file.\n&quot;);
        return 1;
      }
 
    while((c = fgetc(stream) ) != EOF) {
        printf(&quot;position of pointer in the stream i…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/fwrite?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>fwrite</title>
        <link>https://code-reference.com/c/stdio.h/fwrite?rev=1708041942&amp;do=diff</link>
        <description>size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);


The fwrite() function writes, from the array buffer, count objects of size size to stream. The return value is the number of objects written. 

C Sourcecode Example


/* 
 * fwrite example code
 * http://code-reference.com/c/stdio.h/fwrite 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


struct CD_COLLECTION {
  char album_name[42];
  int year;
  char arti…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/getc?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>getc</title>
        <link>https://code-reference.com/c/stdio.h/getc?rev=1708041942&amp;do=diff</link>
        <description>getc


    int getc(FILE *stream);


Returns next character from (input) stream stream, or EOF on end-of-file or error.

C Sourcecode Example


/* 
 * getc example code
 * http://code-reference.com/c/stdio.h/getc
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
    FILE *stream;
    int c;

    if((stream=fopen(&quot;test.txt&quot;,&quot;r&quot;))==NULL) {
        printf(&quot;Cannot open file.\n&quot;);
        return 1;
    }
      
   whi…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-30T21:01:41+02:00</dc:date>
        <title>getchar</title>
        <link>https://code-reference.com/c/stdio.h/getchar?rev=1422648101&amp;do=diff</link>
        <description>getchar


     #include &lt;ctype.h&gt;
     int getchar( void );

   Get a character
C Sourcecode Example


/* 
 * getchar example code
 * http://code-reference.com/c/stdio.h/getchar
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#include &lt;ctype.h&gt;

int main ( void ) {
   int chars;
   printf(&quot;type in . to end your input : &quot;);

   while ((chars = getchar()) != '.' ){
      putchar(chars);
   }
   return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/gets?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>gets</title>
        <link>https://code-reference.com/c/stdio.h/gets?rev=1708041941&amp;do=diff</link>
        <description>gets


    char *gets(char *str); 


Copies characters from stdin into str until newline encountered, end-of-file reached, or error occurs. Does not copy newline. NUL-terminates s. Returns str, or NULL on end-of-file or error. Should not be used because of the potential for buffer overflow.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/perror?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>perror</title>
        <link>https://code-reference.com/c/stdio.h/perror?rev=1708041943&amp;do=diff</link>
        <description>void perror(const char *str);


Prints str (if non-null) and strerror(errno) to standard error as would:


fprintf(stderr, &quot;%s: %s\n&quot;, (s != NULL ? s : &quot;&quot;), strerror(errno))


C Sourcecode Example


/* 
 * perror example code
 * http://code-reference.com/c/stdio.h/perror 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main ( void )
{
FILE *stream;

stream = fopen(&quot;test_not_exists.txt&quot;,&quot;r&quot;);

if (stream == 0) {
perror(&quot;Here c…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/printf?rev=1408637388&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-08-21T18:09:48+02:00</dc:date>
        <title>printf</title>
        <link>https://code-reference.com/c/stdio.h/printf?rev=1408637388&amp;do=diff</link>
        <description>printf


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

int printf ( const char * restrict format, ... );


Arguments

The function printf prints format to STDOUT


Code    Description

%c 	character value

%s 	string of characters

%d 	signed integer

%i 	signed integer

%f 	floating point value

%e 	scientific notation, with a lowercase “e”

%E 	scientific notation, with a uppercase “E”

%g 	use %e or %f

%G 	use %E or %f 

%o 	octa…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/putc?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>putc</title>
        <link>https://code-reference.com/c/stdio.h/putc?rev=1708041941&amp;do=diff</link>
        <description>putc


    int putc(int char, FILE *stream); 


put char into a stream.

C Sourcecode Example


/* 
 * putc example code
 * http://code-reference.com/c/stdio.h/putc 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

int main( void )
{
  int c;
  FILE *stream, *destination;
  
  stream = fopen(&quot;test.txt&quot;, &quot;r&quot;);
  destination = fopen(&quot;test_copy.txt&quot;,&quot;w&quot;);

  if (stream == 0 || destination == 0) { 
     perror(&quot;cannot open stream&quot;);
  …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/putchar?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>putchar</title>
        <link>https://code-reference.com/c/stdio.h/putchar?rev=1708041943&amp;do=diff</link>
        <description>putchar


    int putchar(int char); 


put a character into stdout

C Sourcecode Example


/* 
 * putchar example code
 * http://code-reference.com/c/stdio.h/putchar
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main( void )
{
  int c;
  c = 0; // ASCII Code a
  
  while (c &lt; 255) { // count chars in a while loop
     putchar(c);
     c++;
  }
 
  putchar('\n');
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/puts?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>puts</title>
        <link>https://code-reference.com/c/stdio.h/puts?rev=1708041942&amp;do=diff</link>
        <description>puts


    int puts(const char *str);


Writes str (excluding terminating NUL) and a newline to stdout. Returns non-negative on success, EOF on error.

Example Source


/* 
 * puts example code
 * http://code-reference.com/c/stdio.h/puts
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main ( void )
{
  char string [30] = &quot;This is a test for puts!&quot;;
  puts (string);
  return 0;
}</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/remove?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>remove</title>
        <link>https://code-reference.com/c/stdio.h/remove?rev=1708041944&amp;do=diff</link>
        <description>int remove(const char *filename);


Removes specified file. Returns non-zero on failure.

Example Source


/* 
 * remove example code
 * http://code-reference.com/c/stdio.h/remove
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#define FILENAME &quot;test_tmp.txt&quot;

int main ( void )
{
FILE *tmpfile;
char string[20];
tmpfile = fopen(FILENAME, &quot;w&quot;);

if (tmpfile == 0 ) {
perror(&quot;cannot open file&quot;);
}

 fprintf (tmpfile, &quot;temporary file f…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/rename?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>rename</title>
        <link>https://code-reference.com/c/stdio.h/rename?rev=1708041942&amp;do=diff</link>
        <description>int rename(const char *old_filename, const char *new_filename);



Changes name of file oldname to newname. Returns non-zero on failure.

Example Source


/* 
 * rename example code
 * http://code-reference.com/c/stdio.h/rename 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#define FILENAME &quot;test_tmp.txt&quot;

int main ( void )
{
FILE *tmpfile;
char string[20];
tmpfile = fopen(FILENAME, &quot;w&quot;);

if (tmpfile == 0 ) {
perror(&quot;cannot ope…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/rewind?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>rewind</title>
        <link>https://code-reference.com/c/stdio.h/rewind?rev=1708041944&amp;do=diff</link>
        <description>rewind


    void rewind(FILE *stream);


equal like fseek(stream, 0L, SEEK_SET); clearerr(stream);
Resets the read pointer to the beginning of the File and clear the error
indicator

C Sourcecode Example


/* 
 * rewind example code
 * http://code-reference.com/c/stdio.h/rewind 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main (void) {
FILE *stream;
int c;
long seek_position;

seek_position = 21;

stream=fopen(&quot;test.txt&quot;…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/scanf?rev=1400361063&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-05-17T23:11:03+02:00</dc:date>
        <title>scanf</title>
        <link>https://code-reference.com/c/stdio.h/scanf?rev=1400361063&amp;do=diff</link>
        <description>scanf


  int scanf(const char *format, ...);


The function returns the number of items that were successfully read

EOF if the input stream reached its end, or a negative number if an error occurs.


C Sourcecode Example


/* 
 * scanf example code
 * http://code-reference.com/c/stdio.h/scanf 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main ( void )
{
  char input[20];

  printf (&quot;Enter some Text (max 20 chars) &quot;);
  s…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/setbuf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>setbuf</title>
        <link>https://code-reference.com/c/stdio.h/setbuf?rev=1708041941&amp;do=diff</link>
        <description>void setbuf(FILE *stream, char *buffer);


Controls buffering for stream stream. For null buf, turns off buffering, otherwise equivalent to (void)setvbuf(stream, buf, _IOFBF, BUFSIZ).

setbuf is deprecated use setvbuf instead

C Sourcecode Example


/* 
 * setbuf example code
 * http://code-reference.com/c/stdio.h/setbuf 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

 
int main( void )
{
  FILE *stream = fopen(&quot;test.txt&quot;, &quot;w&quot;);
…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/setvbuf?rev=1708041944&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:44+02:00</dc:date>
        <title>setvbuf</title>
        <link>https://code-reference.com/c/stdio.h/setvbuf?rev=1708041944&amp;do=diff</link>
        <description>int setvbuf(FILE *stream, char *buffer, int mode, size_t size); 


Controls buffering for stream stream. mode is _IOFBF for full buffering, _IOLBF for line buffering, _IONBF for no buffering. Non-null buf specifies buffer of size size to be used; otherwise, a buffer is allocated. Returns non-zero on error. Call must be before any other operation on stream.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/snprintf?rev=1361804212&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T15:56:52+02:00</dc:date>
        <title>snprintf</title>
        <link>https://code-reference.com/c/stdio.h/snprintf?rev=1361804212&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

int snprintf(char *restrict s, size_t n, const char *restrict format, ...);


description of snprintf

The function snprintf() format the format specified by arguments of the printf format specification and writes the result to the specified string by dest. size specifies the maximum length of the string at least. The string in least receive in any case a terminating NULL character. In no…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/sprintf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>sprintf</title>
        <link>https://code-reference.com/c/stdio.h/sprintf?rev=1708041941&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    int sprintf(char *str, const char *format, ...);


Like fprintf, but output written into string s, which must be large enough to hold the output, rather than to a stream. Output is NUL-terminated. Returns length (excluding the terminating NUL).</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/sscanf?rev=1708041941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:41+02:00</dc:date>
        <title>c:stdio.h:sscanf</title>
        <link>https://code-reference.com/c/stdio.h/sscanf?rev=1708041941&amp;do=diff</link>
        <description>#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

    int sscanf(const char *str, const char *format, ...);


sscanf reads formatted input text from the string addressed by source .

No file input is performed. Following the format in the argument list may be one or more additional pointers addressing storage where the input values are stored.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:40+02:00</dc:date>
        <title>tmpfile</title>
        <link>https://code-reference.com/c/stdio.h/tmpfile?rev=1708041940&amp;do=diff</link>
        <description>FILE *tmpfile(void);


tmpfile

Creates temporary file which will be removed when closed or on normal program termination. 

standard mode (mode “wb+”)

Returns stream or NULL on failure.


C Sourcecode Example


/* 
 * tmpfile example code
 * http://code-reference.com/c/stdio.h/tmpfile 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main ( void )
{
  FILE *stream = tmpfile();
  char c;

  if( stream == NULL ) {
  perror(&quot;Er…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/tmpnam?rev=1708041939&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:39+02:00</dc:date>
        <title>tmpnam</title>
        <link>https://code-reference.com/c/stdio.h/tmpnam?rev=1708041939&amp;do=diff</link>
        <description>tmpnam


    char *tmpnam(char *str);


Assigns to s (if s non-null) and returns unique name for a temporary file. Unique name is returned for each of the first TMP_MAX invocations.

C Sourcecode Example


/* 
 * tmpnam example code
 * http://code-reference.com/c/stdio.h/tmpnam 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */


int main ( void ) 
{
FILE *tmpstream;
char *tmpfile;

tmpfile = tmpnam(NULL);
tmpstream= fopen(tmpfile, &quot;…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>ungetc</title>
        <link>https://code-reference.com/c/stdio.h/ungetc?rev=1708041943&amp;do=diff</link>
        <description>ungetc


#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

 int ungetc(int chr, FILE *stream);


Pushes chr (which must not be EOF), onto (input) stream stream such that it will be returned by the next read. Only one character of pushback is guaranteed (for each stream). Returns chr, or EOF on error.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vfprintf?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>vfprintf</title>
        <link>https://code-reference.com/c/stdio.h/vfprintf?rev=1708041943&amp;do=diff</link>
        <description>int vfprintf(FILE *stream, const char *format, va_list arg);


Equivalent to fprintf with variable argument list replaced by arg, which must have been initialised by the va_start macro (and may have been used in calls to va_arg).

C Sourcecode Example


/* 
 * vfprintf example code
 * http://code-reference.com/c/stdio.h/vfprintf 
 */

#include &lt;stdio.h&gt; /* including standard library */
//#include &lt;windows.h&gt; /* uncomment this for Windows */

#include &lt;stdarg.h&gt;

int myfprintf( FILE *file, char c…</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vfscanf?rev=1361805756&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T16:22:36+02:00</dc:date>
        <title>vfscanf</title>
        <link>https://code-reference.com/c/stdio.h/vfscanf?rev=1361805756&amp;do=diff</link>
        <description>int vfscanf ( FILE * stream, const char * format, va_list arg );


description of vfscanf

The vscanf(), vfscanf(), and vsscanf() functions shall be equivalent to the scanf(), fscanf(), and sscanf() functions, respectively, except that instead of being called with a variable number of arguments, they are called with an argument list as defined in the &lt;stdarg.h&gt; header. These functions shall not invoke the va_end macro. As these functions invoke the va_arg macro, the value of ap after the return …</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vprintf?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>vprintf</title>
        <link>https://code-reference.com/c/stdio.h/vprintf?rev=1708041943&amp;do=diff</link>
        <description>int vprintf(const char *format, va_list arg);


Equivalent to printf with variable argument list replaced by arg, which must have been initialised by the va_start macro (and may have been used in calls to va_arg).

is used to generate a string from a format string and then print to standard output stdout.
vprintf can understood as a combination of puts and vsprintf.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vscanf?rev=1708041942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:42+02:00</dc:date>
        <title>vscanf</title>
        <link>https://code-reference.com/c/stdio.h/vscanf?rev=1708041942&amp;do=diff</link>
        <description>int vscanf(char * restrict format, va_list arg_ptr); 


description

The functions vscanf(), vfscanf(), and vsscanf() are functionally equivalent to scanf(), fscanf(), and sscanf(), respectively, except that the argument list has been replaced by a pointer to a list of arguments. This pointer must be of type va_list, which is defined in the header .</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vsprintf?rev=1708041943&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-02-16T01:05:43+02:00</dc:date>
        <title>vsprintf</title>
        <link>https://code-reference.com/c/stdio.h/vsprintf?rev=1708041943&amp;do=diff</link>
        <description>vsprintf


    int vsprintf(char *str, const char *format, va_list arg);


generate a string from a format string.
For this purpose, the buffer that is passed as first argument, the format string is copied and replaces the substitution symbol with the given parameters.</description>
    </item>
    <item rdf:about="https://code-reference.com/c/stdio.h/vsscanf?rev=1361806054&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-02-25T16:27:34+02:00</dc:date>
        <title>vsscanf</title>
        <link>https://code-reference.com/c/stdio.h/vsscanf?rev=1361806054&amp;do=diff</link>
        <description>int vsscanf(const char *restrict s, const char *restrict format, va_list arg);


description of vsscanf

The vscanf(), vfscanf(), and vsscanf() functions shall be equivalent to the scanf(), fscanf(), and sscanf() functions, respectively, except that instead of being called with a variable number of arguments, they are called with an argument list as defined in the &lt;stdarg.h&gt; header. These functions shall not invoke the va_end macro. As these functions invoke the va_arg macro, the value of ap aft…</description>
    </item>
</rdf:RDF>
