Aller au contenu principal

stdio

fonctiondescription
getsLit une chaîne depuis le clavier
putsÉcrit une chaîne à l'écran
fgetsLit une chaîne depuis un fichier
fputsÉcrit une chaîne dans un fichier
fonctiondescription
getcGet character from stream
putcWrite character to stream
fgetcGet character from stream
fputcWrite character to stream
getcharGet character from stdin
putcharWrite character to stdout
ungetcUnget character from stream
fonctiondescription
fprintfWrite formatted data to stream
fscanfRead formatted data from stream
printfPrint formatted data to stdout
scanfRead formatted data from stdin
snprintfWrite formatted output to sized buffer
sprintfWrite formatted data to string
sscanfRead formatted data from string
vfprintfWrite formatted data from variable argument list to stream
vfscanfRead formatted data from stream into variable argument list
vprintfPrint formatted data from variable argument list to stdout
vscanfRead formatted data into variable argument list
vsnprintfWrite formatted data from variable argument list to sized buffer
vsprintfWrite formatted data from variable argument list to string
vsscafRead formatted data from string into variable argument list
fonctiondescription
freadRead block of data from stream
fwriteWrite block of data to stream
fonctiondescription
fcloseClose file
fflushFlush stream
fopenOpen file
freopenReopen stream with different file or mode
setbufSet stream buffer
setvbufChange stream buffering
fonctiondescription
fgetposGet current position in stream
fseekReposition stream position indicator
fsetposSet position indicator of stream
ftellGet current position in stream
rewindSt position of stream to the beginning

clearerr|Clear error indicators feof|Check end-of-file indicator ferror|Check error indicator perror|Print error message remove|Remove file rename|Rename file tmpfile|Open a temporary file tmpnam|Generate temporary filename