Main Content

La traducción de esta página está obsoleta. Haga clic aquí para ver la última versión en inglés.

E/S de archivo de bajo nivel

Leer y escribir operaciones a nivel de byte o carácter

Funciones

fclose Close one or all open files
feof Test for end of file
ferror File I/O error information
fgetl Read line from file, removing newline characters
fgets Read line from file, keeping newline characters
fileread Read contents of file as text
fopen Open file, or obtain information about open files
fprintf Write data to text file
fread Read data from binary file
frewind Move file position indicator to beginning of open file
fscanf Read data from text file
fseek Move to specified position in file
ftell Current position
fwrite Write data to binary file

Ejemplos y procedimientos

Conceptos