I recently read a Peter Hutterer post explaining about a new protocol called inputfd that is intended to forward a file descriptor directly to other processes without the composer's interaction.
I was curious, how is it possible to pass a file descriptor from one process to another?
Could you show a minimal example of code that does this?