ftell

Defined in header <stdio.h> long ftell( FILE *stream ); Returns the file position indicator for the file stream stream. If the stream is open in binary mode, the value obtained by this function is the number of bytes from the beginning of the file. If the stream is open in text mode, the value returned by this function is unspecified and is only meaningful as the input to fseek(). Parameters stream - file stream to examine Return value File position indicator

fsetpos

Defined in header <stdio.h> int fsetpos( FILE *stream, const fpos_t *pos ); Sets the file position indicator and the multibyte parsing state (if any) for the file stream stream according to the value pointed to by pos. Besides establishing new parse state and position, a call to this function undoes the effects of ungetc and clears the end-of-file state, if it is set. If a read or write error occurs, the error indicator (ferror) for the stream is set. Parameters stream

fseek

Defined in header <stdio.h> int fseek( FILE *stream, long offset, int origin ); Sets the file position indicator for the file stream stream to the value pointed to by offset. If the stream is open in binary mode, the new position is exactly offset bytes measured from the beginning of the file if origin is SEEK_SET, from the current file position if origin is SEEK_CUR, and from the end of the file if origin is SEEK_END. Binary streams are not required to support SEEK_END, in

frexp

Defined in header <math.h> float frexpf( float arg, int* exp ); (1) (since C99) double frexp( double arg, int* exp ); (2) long double frexpl( long double arg, int* exp ); (3) (since C99) Defined in header <tgmath.h> #define frexp( arg, exp ) (4) (since C99) 1-3) Decomposes given floating point value x into a normalized fraction and an integral power of two. 4) Type-generic macro: If arg has type long double, frexpl is called. Othe

freopen

Defined in header <stdio.h> (1) FILE *freopen( const char *filename, const char *mode, FILE *stream ); (until C99) FILE *freopen( const char *restrict filename, const char *restrict mode, FILE *restrict stream ); (since C99) errno_t freopen_s(FILE *restrict *restrict newstreamptr, const char *restrict filename, const char *restrict mode, FILE *restrict stream); (2) (since C11) 1) First, attempts

free

Defined in header <stdlib.h> void free( void* ptr ); Deallocates the space previously allocated by malloc(), calloc(), aligned_alloc, (since C11) or realloc(). If ptr is a null pointer, the function does nothing. The behavior is undefined if the value of ptr does not equal a value returned earlier by malloc(), calloc(), realloc(), or aligned_alloc() (since C11). The behavior is undefined if the memory area referred to by ptr has already been deallocated, that is, free() or

fread

Defined in header <stdio.h> size_t fread( void *buffer, size_t size, size_t count, FILE *stream ); (until C99) size_t fread( void *restrict buffer, size_t size, size_t count, FILE *restrict stream ); (since C99) Reads up to count objects into the array buffer from the given input stream stream as if by calling fgetc size times for each object, and storing the results, in the order obtained, into the successive positions o

FP_NORMAL

Defined in header <math.h> #define FP_NORMAL /*implementation defined*/ (since C99) #define FP_SUBNORMAL /*implementation defined*/ (since C99) #define FP_ZERO /*implementation defined*/ (since C99) #define FP_INFINITE /*implementation defined*/ (since C99) #define FP_NAN /*implementation defined*/ (since C99) The FP_NORMAL, FP_SUBNORMAL, FP_ZERO, FP_INFINITE, FP_NAN macros each represent a distinct category of floating-point numbers.

fputws

Defined in header <wchar.h> int fputws( const wchar_t *str, FILE *stream ); (since C95) Writes given null-terminated wide string to the given output stream. Parameters str - null-terminated wide string to be written stream - output stream Return value non-negative integer on success, WEOF on failure. References C11 standard (ISO/IEC 9899:2011): 7.29.3.4 The fputws function (p: 423) C99 standard (ISO/IEC 9899:1999): 7.24.3.4 The fputws function (p

fputwc

Defined in header <wchar.h> wint_t fputwc( wchar_t ch, FILE *stream ); (since C95) wint_t putwc( wchar_t ch, FILE *stream ); (since C95) Writes a wide character ch to the given output stream stream. putwc() may be implemented as a macro and may evaluate stream more than once. Parameters ch - wide character to be written stream - the output stream Return value ch on success, WEOF on failure. If an encoding error occurs, errno is set to EILSEQ. Exa