Skip to content

Commit 5b166bc

Browse files
committed
add note on I/O buffers
1 parent a7197b9 commit 5b166bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fork/vfork.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
* was used since a child is not supposed to use the parent's process address
99
* space any other way than to exec() or _exit(). By using the return operator,
1010
* the parent's stack would be changed. _exit() is used in favour of exit() to
11-
* avoid any atexit() routines to be called on behalf of the child.
11+
* avoid any atexit() routines to be called on behalf of the child and also
12+
* to avoid flushing the IO buffers.
1213
*
1314
1415
*/

0 commit comments

Comments
 (0)