Creating processes

Michael Abbott michael at araneidae.co.uk
Fri Sep 29 15:47:54 BST 2006


A little research shows that execve(2) is the fundamental API, which 
affects a couple of my points.

On Fri, 29 Sep 2006, Michael Abbott wrote:
> 2. if I want to be portable I need to clearenv(3) and use execv(3) 
> instead.
Hm.  clearenv(3) doesn't seem to exist in FreeBSD, but of course execve(2) 
is good enough.

> 4. Signals?
Ok, execve(2) defines signal handling.  Even so, default handling needs to 
be restored for all signals.




More information about the Ukfreebsd mailing list