Standard i/o

Does Unix/Linux or OS create a temporary file when I, for example want to display a message such as

printf("%c", var);
or
cout<<"CS"<<endl;

cout or printf calls write() system call and creates a temp file to store the data to display on screen..am i I correct?
Last edited on
No temporary files are created. You are correct that the printf() function ultimately calls write(); however, the data is processed at a low level by kernel code responsible for interacting with hardware.
Thanks
Topic archived. No new replies allowed.