Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 109 -
6. Input/output ( stdio.h )
-------------------------------------------------------------------
Name Function
-------------------------------------------------------------------
6.1 remove Delete a file.
6.2 rename Change the name of a file.
6.3 tmpnam Generate a temporary file name.
6.4 fclose Close a stream.
6.5 fflush Flush a stream buffer.
6.6 fopen Open a stream.
6.7 freopen Re-open a same stream.
6.8 setbuf Set a buffer for stream.
6.9 setvbuf Control a buffer for stream.
6.10 fprintf Print formatted data to a stream.
6.11 fscanf Read formatted data from a stream.
6.12 printf Print formatted data to standard output.
6.13 scanf Read formatted data from standard input.
6.14 sprintf Print formatted data to memory.
6.15 sscanf Read formatted data from memory.
6.16 vfprintf Print formatted data to a file using variable
arguments.
6.17 vprintf Print formatted data to standard output using
variable arguments.
6.18 vsprintf Print formatted data to memory using variable
arguments.
6.19 fgetc Read a character from a stream.
6.20 fgets Read a strings from a stream.
6.21 fputc Write a character to a stream.
6.22 fputs Write a string to a stream.
6.23 getc Read a character from a stream.
6.24 getchar Read a character from standard input.
6.25 gets Read a line string from standard input.
6.26 putc Write a character to a stream.
6.27 putchar Write a character to standard output.
6.28 puts Write a string to standard output.
6.29 ungetc Put a character into a steam.
6.30 fread Read data from a stream.
6.31 fwrite Write data to a stream.
6.32 fgetpos Get the current file position of a stream.
6.33 fseek Move the current file pointer.
6.34 fsetpos Set the current file position of stream.
6.35 ftell Get the current file pointer.
6.36 rewind Rewind the current file pointer to the top of
file.
6.37 clearerr Reset error indicator of a stream.
6.38 feof Test for end-of-file.
6.39 ferror Test for error on stream.
6.40 perror Print error message.
------------------------------------------------------------------