[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 12.2: fork() causing getline() to repeat stdin endlessly



On 23/10/2023 15:45, Thomas Schmitt wrote:
- Why no "fork() = " after the lines which show their number for the first time ?

https://stackoverflow.com/questions/2530663/printf-anomaly-after-fork

fork clones stdout buffer and child exit flushes its content.


Reply to: