FYI: new openat-like function: mkdirat

Jim Meyering jim@meyering.net
Thu Dec 1 17:03:00 GMT 2005


Daniel Jacobowitz <drow@false.org> wrote:
> You're talking about exec.  If you're going to use execve anyway,
> there's no way you need your old initial working directory back, is
> there?

Right.

As James pointed out, the forked child can simply call
fchdir just before execvp, just as find already does.
So there's no need for any new exec* function, after all.



More information about the Libc-alpha mailing list