C-IO operations

The concept and types of files

  The concept: an ordered set of related data collection

  file type:

  1. R regular file
  2. D directory file
  3. C character device file
  4. B block device file
  5. Inter Pipeline file p, process communication mechanism
  6. Inter socket file s, process communication mechanism
  7. L symbolic link file

How to understand the standard IO

  IO standard defined by the standard ANSIC

  The major operating systems (Linux, Windows) have achieved a C library

  IO standard system calls by reducing the buffer mechanism to achieve greater efficiency

Meaning stream (FILE) of

Stream buffer

Guess you like

Origin www.cnblogs.com/xdl-smile/p/12336875.html