Linux/Embedded

fork() function.

Hans_S_92 2023. 4. 26. 10:54


NAME
       fork - create a child process

SYNOPSIS
       #include <sys/types.h>
       #include <unistd.h>

       pid_t fork(void);

 

RETURN VALUE
       On  success,  the  PID of the child process is returned in the parent, and 0 is returned in the child.  On failure, -1 is re‐turned in the parent, no child process is created, and errno is set appropriately.

'Linux > Embedded' 카테고리의 다른 글

SecureCRT - Key exchange failed. rsa-sha  (0) 2023.08.10
내가 사용하는 .vimrc 옵션  (0) 2023.04.26
open 함수  (0) 2023.04.25
Yocto Project Poky Compile & Execute  (0) 2023.03.13
Vim에서 키패드 숫자입력  (0) 2022.05.02