Subject: Just curious...
To: None <>
From: Noel Cragg <>
List: current-users
Date: 05/22/1994 15:17:45
... why things like sys_errlist are declared as

	extern const char *const sys_errlist[];

as opposed to the usual

	extern const char *sys_errlist[];

Is it, as I guess, that the first is more correct than the second?
That is, it would be possible to write a program which tried to modify
the strings of sys_errlist -- for the first proto it would fail, but
for the second it would compile just fine (provided you're doing gcc
-Wall).  Am I close?


Noel Cragg \\ 283 North Main Street \\ Oberlin OH 44074-1119 \\ 216/774-3140