lkml.org 
[lkml]   [1999]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: glibc-2.0.110/111, apmd3.0beta4, & 2.2.0-final
From
Date
Richard Gooch <rgooch@atnf.csiro.au> writes:

> I don't want to modify any of the parent variables. All I want to do
> is dup2() and close() FDs. So Unix98 says this is verboten?

It's not verboten but left undefined.

The vfork() function has the same effect as fork(), except
that the behaviour is undefined if the process created by
vfork() either modifies any data other than a variable of type
pid_t used to store the return value from vfork(), or returns
from the function in which vfork() was called, or calls any other
function before successfully calling _exit() or one of the
exec family of functions.

--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:2.492 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site