Where did my printf go?
printf vs write — buffered vs unbuffered output
· step
1
/
◀ Prev
Next ▶
The path of a byte
your program → libc buffer → the kernel
user space
user space ↑ ↓ kernel space
crossing = system call
kernel space
· memory owned by the kernel
What you observe
the screen · another shell