haiku/headers/private/kernel/fs
Axel Dörfler 681779f1c8 Our close-on-exec flag handling was broken: it's supposed to be specified per slot, not
per file descriptor (a descriptor can be shared among several slots). There is now a
second table in the io_context structure that contains that information in a bitmap.
There are now two new (private) functions to control the close-on-exec flag, fd_close_on_exec(),
and fd_set_close_on_exec().
F_DUPFD, dup(), and dup2() are supposed to clear the close-on-exec flag on the duplicated
slot - this fixes bug #57 (no output after a redirect of a shell builtin).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 09:02:59 +00:00
..
devfs.h Moved load_driver() and load_driver_symbols() over to devfs. 2005-06-02 18:32:21 +00:00
fd.h Our close-on-exec flag handling was broken: it's supposed to be specified per slot, not 2005-10-06 09:02:59 +00:00
KPath.h Fixed a warning in GCC 3. 2004-11-04 15:51:27 +00:00
node_monitor.h Removed some unneeded includes, making the header easier to swallow. 2004-06-29 20:12:29 +00:00
select_sync_pool.h Added delete_select_sync_pool() to clean up. 2005-03-20 22:07:29 +00:00