Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between fork(3) and fork(2)

I roughly read

http://linux.die.net/man/2/fork and http://linux.die.net/man/3/fork

got confused. can anybody briefly explain to me difference between fork(3) and fork(2) thank you

like image 622
BufBills Avatar asked Oct 14 '25 13:10

BufBills


1 Answers

fork(2) is the kernel call and fork(3) is the posix library call

like image 189
Rahul Tripathi Avatar answered Oct 17 '25 03:10

Rahul Tripathi