how to record the process end time in a child process and obtain it in the parent process?# Unix - 噫吁兮,危乎高哉
a*n
1 楼
The task is to execl() a process in the child, record its end time and to
obtain it in the parent process. I know that when the child uses _exit() to
exit the child process, some information still could obtain in parent. But how
to obtain the end time the parent?
obtain it in the parent process. I know that when the child uses _exit() to
exit the child process, some information still could obtain in parent. But how
to obtain the end time the parent?