This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
inconsistent 'const' in exec{l,v}.
- From: PaweÅ Sikora <pluto at agmk dot net>
- To: libc-help at sourceware dot org
- Date: Sun, 13 Nov 2011 14:42:46 +0100
- Subject: inconsistent 'const' in exec{l,v}.
Hi,
i've noticed that manual describes variable number of 'const char*' arguments for execl()
and array of non-const arguments for execv(). is it a bug or an intelligent design?
imho it should be declared as 'const char* const argv[]'.
BR,
PaweÅ.