Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.sao.ru/hq/sts/linux/book/c_marshall/subsection2_21_6_1.html
Дата изменения: Unknown Дата индексирования: Sat Sep 11 20:23:53 2010 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п |
#include <stdio.h>
void clearerr(FlLE *file_pointer) - Clear error indicator of stream,
int fclose(FlLE *file_pointer) - Close a file,
int feof(FlLE *file_pointer) - Check if end of file occurred on a stream.
int ferror(FlLE *file_pointer) - Check if any error occurred during file I/0.
int fflush(FlLE *file_pointer) - Write out (flush) buffer to file.
int fgetc(FlLE *file_pointer) - Get a character from a stream.
int fgetpos(FlLE *file_pointer, fpos_t current_pos) - Get the current position in a stream.
char *fgets(char *string, int maxchar, FILE *file_pointer) - Read a string from a file.
FILE *fopen(char *filename, char *access_mode) - Open a file for buffered I/0.
int fprintf(FlLE *file_pointer, char *format_string, args) - Write formatted output to a file,
int fputc(int c, FILE *file_pointer) - Write a character to a stream.
int fputchar(int c) - Write a character to stdout.
int fputs(char *string, FILE *file_pointer) - Write a string to a stream.
size_t fread(char *buffer, size_t size size_t count, FILE *file_pointer) - Read unformatted data from a stream into a buffer.
FILE *freopen(char *filename, char *access mode, FILE *file_pointer) - Reassign a file pointer to a different file.
int fscanf(FlLE *file_pointer, char *format string, args) - Read formatted input from a stream.
int fseek(FlLE *file_pointer, long offset, int origin) - Set current position in file to a new location.
int fsetpos(FlLE *file pointer, fpos_t *current pos) - Set current position in file to a new location.
long ftell(FlLE *file_pointer) - Get current location in file.
size_t fwrite(char *buffer, size_t size, size_t count FILE *file_pointer) - Write unformatted data from a buffer to a stream.
int getc(FlLE *file_pointer) - Read a character from a stream.
int getchar(void) - Read a character from stdin.
char *gets(char *buffer) - Read a line from stdin into a buffer.
int printf(char *format _string, args) - Write formatted output to stdout.
int putc(int c, FILE *file_pointer) - Write a character to a stream.
int putchar(int c) - Write a character to stdout.
int puts(char *string) - Write a string to stdout.
void rewind(FlLE *file_pointer) - Rewind a file.
int scanf(char *format_string, args) - Read formatted input from stdin.
void setbuf(FlLE *file_pointer, char *buffer) - Set up a new buffer for the stream.
int setvbuf(FlLE *file_pointer, char *buffer, int buf_type, size_t buf size) - Set up new buffer and control the level of buffering on a stream.
int sprintf(char *string, char *format_string, args) - Write formatted output to a string.
int sscanf(char *buffer, char *format_string, args) - Read formatted input from a string.
FILE *tmpfile(void) - Open a temporary file.
char *tmpnam(char *file_name) - Get temporary file name.
int ungetc(int c, FILE *file_pointer) - Push back character into stream' s buffer