Low-level file I/O functions.

 

 

   File opening and closing.

     fopenZTI1WQ       Open file.

     fclose84JHXX      Close file.

 

   Unformatted I/O.

     fread12IDRWQ       Read binary data from file.

     fwriteJNGV86      Write binary data to file.

 

   Formatted I/O.

     fscanf1N0KSG5      Read formatted data from file.

     fprintf1H1C3CP     Write formatted data to file.

     fgetlRIWZWQ       Read line from file, discard newline character.

     fgetsRIX6WQ       Read line from file, keep newline character.

 

   File positioning.

     ferrorYOYVU8      Inquire file I/O error status.

     feof2H6HDXR        Test for end-of-file.

     fseek13IHYWQ       Set file position indicator.

     ftell14IOZWQ       Get file position indicator.

     frewind67K8LS     Rewind file.

 

   String conversion.

     sprintf3EML54     Write formatted data to string.

     sscanf79JI56      Read string under format control.