Initialize the library. Call it before libcomcom_run_command(). Note that this erases the old SIGCHLD handler (if any). @return 0 on success and -1 on error (also sets errno).
You should usually also initialize SIGTERM/SIGINT signal handlers.
See Implementation
Initialize the library. Call it before libcomcom_run_command(). Note that this erases the old SIGCHLD handler (if any). @return 0 on success and -1 on error (also sets errno).
You should usually also initialize SIGTERM/SIGINT signal handlers.