S60 Open C
Standard C Library/Standard I/O Functions

Standard C Library/Standard I/O Functions

Table of Contents

Standard I/O Functions

 


Standard I/O Functions

Directory Handling

Function

Description

remove Deletes a name and possibly the file it refers to

File/Streams Handling

Function

Description

fread Binary stream input/output
fwrite Binary stream input/output
getc Input of characters and strings
getw Input and output of words (ints)
fgetc Input of characters and strings
getchar Input of characters and strings
fclose Closes a stream
ferror Checks and resets stream status
feof Tests the end-of-file indicator for the stream pointed to by stream, returning non-zero if it is set. The end-of-file indicator can only be cleared by the function clearer.
fseek Repositions a stream
rewind Repositions a stream
ftell Repositions a stream
fopen Streams open functions
freopen Streams open functions
fsetpos Repositions a stream
fgetpos Repositions a stream
clearerr Checks and resets stream status
fflush Flush a stream
setbuf Streams buffering operations
setvbuf Streams buffering operations
flockfile Locks FILE for stdio
funlockfile Locks FILE for stdio
ftrylockfile Locks FILE for stdio
vfscanf Input format conversion
vscanf Input format conversion
vsscanf Input format conversion
fwscanf Converts formatted wide-character input
swscanf Converts formatted wide-character input
vfwscanf Wide-character formatted input of a stdarg argument list
vswscanf Wide-character formatted input of a stdarg argument list
vwscanf Wide-character formatted input of a stdarg argument list
wscanf Converts formatted wide-character input
scanf Input format conversion
vprintf Formatted output conversion
fscanf Input format conversion
sscanf Input format conversion
printf Formatted output conversion
vfprintf Formatted output conversion
vsnprintf Formatted output conversion
vsprintf Formatted output conversion
snprintf Formatted output conversion
sprintf Formatted output conversion
fprintf Formatted output conversion
asprintf Print to allocated string
vasprintf Print to allocated string
fwprintf Formatted wide character output conversion
swprintf Formatted wide character output conversion
vfwprintf Formatted wide character output conversion
vswprintf Formatted wide character output conversion
vwprintf Formatted wide character output conversion
wprintf Formatted wide character output conversion
fgets Input of characters and strings
fgetws Reads a wide character string from a FILE stream
putc Output of characters and strings
fputs Output of characters and strings
puts Output of characters and strings
putw Input and output of words (ints)
putchar It is identical to putc with an output stream of stdout.
fputc Output of characters and strings
fputwc Writes a wide character to a FILE stream
fputws Writes a wide character string to a FILE stream
putwc Writes a wide character to a FILE stream
putwchar Writes a wide character to standard output
ungetc Input of characters and strings
ungetwc Pushes back a wide character onto a FILE stream

Operations on File Descriptors

Function

Description

fileno Checks and resets stream status
fdopen Stream open functions

Give feedback of this article


©Nokia 2007

Back to top


This material, including documentation and any related computer programs, is protected by copyright controlled by Nokia. All rights are reserved. Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior written consent of Nokia. This material also contains confidential information, which may not be disclosed to others without the prior written consent of Nokia.

Nokia is a registered trademark of Nokia Corporation. S60 and logo is a trademark of Nokia Corporation. Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. Other company and product names mentioned herein may be trademarks or tradenames of their respective owners.