Keep in mind thatmany file descriptors can point to a single file description. This is for instance when a file descriptor is duplicated usingdup(2)syscall. The duplicated file descriptor refers to the same open
Outputs to stdout/stderr will not be visible, so usedup2to redirect these to files. Small Demo App In this repository, you can see my small demo app. I included all the libraries to make it easy for anyone to start (please change CC path in Makefile to your installation directory). ...