Direct Input/Output
┌─────────────────────────┬──────────────┬─────────────────────────┬───────────┐
│ Function │ Header File │ Link to Function │ Descriptio│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ clearerr │ "stdio.h" │ clearerr
│ Resets │
│ │ │ │ error │
│ │ │ │ indica- │
│ │ │ │ tors. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ feof │ "stdio.h" │ feof
│ Tests │
│ │ │ │ end-of- │
│ │ │ │ file │
│ │ │ │ indicator │
│ │ │ │ for │
│ │ │ │ stream │
│ │ │ │ input. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ ferror │ "stdio.h" │ ferror
│ Tests the │
│ │ │ │ error │
│ │ │ │ indicator │
│ │ │ │ for a │
│ │ │ │ specified │
│ │ │ │ stream. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ fread │ "stdio.h" │ fread
│ Reads │
│ │ │ │ items │
│ │ │ │ from a │
│ │ │ │ specified │
│ │ │ │ input │
│ │ │ │ stream. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ fwrite │ "stdio.h" │ fwrite
│ Writes │
│ │ │ │ items to │
│ │ │ │ a speci- │
│ │ │ │ fied │
│ │ │ │ output │
│ │ │ │ stream. │
└─────────────────────────┴──────────────┴─────────────────────────┴───────────┘
[Back: Wide Character and String Input/Output]
[Next: File Positioning]