fgetws

Defined in header <wchar.h> wchar_t *fgetws( wchar_t *str, int count, FILE *stream ); (since C95) Reads at most count - 1 wide characters from the given file stream and stores them in str. The produced wide string is always null-terminated. Parsing stops if end-of-file occurs or a newline wide character is found, in which case str will contain that wide newline character. Parameters str - wide string to read the characters to count - the length of str stream

fgetc

Defined in header <stdio.h> int fgetc( FILE *stream ); int getc( FILE *stream ); Reads the next character from the given input stream. getc() may be implemented as a macro. Parameters stream - to read the character from Return value The obtained character on success or EOF on failure. If the failure has been caused by end-of-file condition, additionally sets the eof indicator (see feof()) on stream. If the failure has been caused by some other error, set

fgets

Defined in header <stdio.h> char *fgets( char *str, int count, FILE *stream ); (until C99) char *fgets( char *restrict str, int count, FILE *restrict stream ); (since C99) Reads at most count - 1 characters from the given file stream and stores them in str. The produced character string is always null-terminated. Parsing stops if end-of-file occurs or a newline character is found, in which case str will contain that newline character. Parameters

fgetpos

Defined in header <stdio.h> int fgetpos( FILE *stream, fpos_t *pos ); (until C99) int fgetpos( FILE *restrict stream, fpos_t *restrict pos ); (since C99) Obtains the file position indicator and the current parse state (if any) for the file stream stream and stores them in the object pointed to by pos. The value stored is only meaningful as the input to fsetpos. Parameters stream - file stream to examine pos - pointer to a fpos_t object

fgetwc

Defined in header <wchar.h> wint_t fgetwc( FILE *stream ); (since C95) wint_t getwc( FILE *stream ); (since C95) Reads the next wide character from the given input stream. getwc() may be implemented as a macro and may evaluate stream more than once. Parameters stream - to read the wide character from Return value The next wide character from the stream or WEOF if an error has occurred or the end of file has been reached. If an encoding error occurred, er

FE_DIVBYZERO

Defined in header <<fenv.h>> #define FE_DIVBYZERO /*implementation defined power of 2*/ (since C99) #define FE_INEXACT /*implementation defined power of 2*/ (since C99) #define FE_INVALID /*implementation defined power of 2*/ (since C99) #define FE_OVERFLOW /*implementation defined power of 2*/ (since C99) #define FE_UNDERFLOW /*implementation defined power of 2*/ (since C99) #define FE_ALL_EXCEPT FE_DIVBYZERO | FE_INEXACT |

FE_DOWNWARD

Defined in header <<fenv.h>> #define FE_DOWNWARD /*implementation defined*/ (since C99) #define FE_TONEAREST /*implementation defined*/ (since C99) #define FE_TOWARDZERO /*implementation defined*/ (since C99) #define FE_UPWARD /*implementation defined*/ (since C99) Each of these macro constants expands to a nonnegative integer constant expression, which can be used with fesetround and fegetround to indicate one of the supported floatin

FE_DFL_ENV

Defined in header <<fenv.h>> #define FE_DFL_ENV /*implementation defined*/ (since C99) The macro constant FE_DFL_ENV expands to an expression of type const fenv_t*, which points to a full copy of the default floating-point environment, that is, the environment as loaded at program startup. Additional macros that begin with FE_ followed by uppercase letters, and have the type const fenv_t*, may be supported by an implementation. Example #include <stdio.h> #

fflush

Defined in header <stdio.h> int fflush( FILE *stream ); For output streams (and for update streams on which the last operation was output), writes any unwritten data from the stream's buffer to the associated output device. For input streams (and for update streams on which the last operation was input), the behavior is undefined. If stream is a null pointer, all open output streams are flushed, including the ones manipulated within library packages or otherwise not directl

feraiseexcept

Defined in header <<fenv.h>> int feraiseexcept( int excepts ); (since C99) Attempts to raise all floating point exceptions listed in excepts (a bitwise OR of the floating point exception macros). If one of the exceptions is FE_OVERFLOW or FE_UNDERFLOW, this function may additionally raise FE_INEXACT. The order in which the exceptions are raised is unspecified, except that FE_OVERFLOW and FE_UNDERFLOW are always raised before FE_INEXACT. Parameters excepts - bi