Search Results

Search: Posts Made By: milouz
7,688
Posted By milouz
fork and stdin
When a process fork(), the child share the same file descriptors as his father. Thus, they share the same stdin. Quick and dirty exemple below (sorry for the ugly gets() call) :


#include...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 04:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy