This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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Å.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]