"Default" value for close on exec flag
- From: Andrei Voropaev <avorop@xxxxxxx>
- Date: Tue, 26 Jun 2007 13:56:16 +0000 (UTC)
Hi!
As far as I can see, all new descriptors have close on exec flag set to
0. Is there any way to change this without calling fcntl on each one of
them? So that after the call "pipe(pipe_ends)" both pipe_ends[0] and
pipe_ends[1] have close on exec set to 1?
--
Minds, like parachutes, function best when open
.
- Follow-Ups:
- Re: "Default" value for close on exec flag
- From: Jerry Peters
- Re: "Default" value for close on exec flag
- Prev by Date: Re: stack trace without core
- Next by Date: Re: is it possible to write to some my log file...just like user space program?
- Previous by thread: is it possible to write to some my log file...just like user space program?
- Next by thread: Re: "Default" value for close on exec flag
- Index(es):