Re: man EXECVE(2) resp. EXEC(3)

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

 



Hello Jürgen,

On 3/5/19 1:19 PM, Dr. Jürgen Sauermann wrote:
> Hi,
> 
> this is an improvement proposal for the EXECVE(2) and EXEC(3) man pages.
> 
> I am using release 3.54 of the Linux man-pages project, but the current
> version 4.16 shows the same. I am running Linux Mint 17.1 Rebecca.
> 
> 
> The man page EXEC(3) contains a paragraph named "Special semantics
> for execlp() and execvp() which explains to some extent how the "file"
> argument of these function is handled. There are some inconsistencies
> and possible improvements between the EXECVE(2) and  the EXEC(3)
> man pages:
> 
> * The execve() function seems to behave exactly as   execlp*(),  execvp(),
>   and execvpe() do, but the but the paragraph mentioned above
>  only occurs in EXEC(3) but not in EXEC VE(2). [ This has caused a bit
>  of confusion on the gnu-prog-discuss mailing list lately because one
>  side was only aware of EXECVE(2) but not of EXEC(3) ]

Can you give more detail here please (e.g., quote exactly the
sentences in exec(3) that you also think apply to execve(2)).

> * The title of the paragraph in EXEC(3) should also mention execvpe()
>   which is mentioned below the title but not in the title.

Fixed.

> * The first argument(s) of these functions should be aligned: EXECVE(2)
>  uses "filename" while "EXEC(3) uses "file".

True. I've fixed them to consistently use 'pathname'

> * It would be useful if EXECVE(2) and EXEC(3) would refer to eac> other under "SEE ALSO".

Well, exec(3) does already refer to execve(2). But I've now fixes
exec(3).

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux