tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: posix_spawnp(3) not checking for empty file name



On Sun, Sep 29, 2024 at 01:42:36PM +0200, tlaronde%kergis.com@localhost wrote:
> If the execvp(3) checks that the name passed is not the empty string,
> posix_spawnp(3) doesn't with the file argument.
> 
> Is it intended?

It is just an optimization to speed up failure. I'll add it to posix_spawnp(3)
too.

Martin


Home | Main Index | Thread Index | Old Index