tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [PATCH] pcictl: simplify its usage
In message <4A26EAF6.8050302%gmx.de@localhost>, Christoph Egger writes:
>-int main(int, char *[]);
>+int main(int, char * const []);
I am a bit confused by this. To the best of my knowledge, there is no
const qualifier at any level of argv. (I currently believe that, strictly
speaking, the pointers which are members of argv cannot be modified in
strictly conforming code, but argv itself obviously can, and the characters
pointed to by the members of argv can.)
-s
Home |
Main Index |
Thread Index |
Old Index