Top "Stdio" questions

This tag is for questions regarding "Standard I/O", i.e. I/O using the facilities in the C header <stdio.

Does fprintf use malloc() under the hood?

I want a minimal o-damn-malloc-just-failed handler, which writes some info to a file (probably just standard error). I would prefer …

c malloc stdio printf
Open file by inode

Is it possible to open a file knowing its inode? ls -i /tmp/test/test.txt 529965 /tmp/test/test.txt …

linux filesystems stdio