#include <stdio.h> #include <stdlib.h> int main(void) { FILE *tempFichier; // Retourne 'Null' en cas d'erreur if((tempFichier=tmpfile())==NULL) { printf("Impossible d'ouvrir un fichier temporaire;"); exit(1);// Quitter le programme } printf("Le fichier tempFichieroraire à été crée"); return 0; } |
----------------------------------------------------------------------------