I used daemon() and fork() to move my program to the background.
How can I bring it back to the foreground?
Is there a c++ function that do so?
thank you.
edited:
I understand that there is no way back from daemon() so how can I move my program from foreground to background and back?