libct icon indicating copy to clipboard operation
libct copied to clipboard

Add support of waiting for entered processes

Open dmitry-guryanov opened this issue 11 years ago • 0 comments

We need API calls for waiting for entered processes.

libct_container_enter_execv should return pr_handler_t, which can be used for waiting or checking status of the entered process.

pr_handler_t libct_process_wait(pr_handler_t p, int *status, int flags);

define LIBCT_WAIT_ALL ((void *)1)

define LIBCT_WNOHANG 1

dmitry-guryanov avatar May 30 '14 22:05 dmitry-guryanov