> > Date: Wed, 18 Feb 2009 16:51:32 -0800 (PST) > From: "Roger A. Faulkner" <Roger.Faulkner at sun.com > ... ... ... > This case adds a new posix_spawn() support function to the C library: > > int posix_spawn_file_actions_addclosefrom_np( > posix_spawn_file_actions_t *file_actions, > int filedes); > > ... ... ... > It would be useful to provide a posix_spawn() file action > interface that provides the utility of the Solaris interface: > > void closefrom(int lowfd); > > Roger, I'm glad to see you adding posix_spawn_file_actions_addclosefrom_np(). I didn't see it mentioned, but I assume that you realize that this function name is in the POSIX reserved namespace and can't be visible to applications built in standards conforming mode.
Do you plan to suggest that posix_spawn_file_actions_addclosefrom() (without the _np suffix) and closefrom() be added to the next revision of SUS and the POSIX standards? - Don