Date: Thu, 14 Dec 1995 13:26:45 -0800 (PST) From: kline@tao.thought.org (Gary D. Kline) To: questions@freebsd.org (freebsd) Subject: ANSI/POSIX (?) question.... Message-ID: <m0tQLAs-0001wxC@tao.thought.org>
next in thread | raw e-mail | index | archive | help
This isn't exactly a *BSD question, but it does relate to my porting of the andrew suite. What does this syntax signify: extern const char *const sys_siglist[]; as opposed to the simpler original: extern char *sys_siglist[];? In particular, what does the "*const sys_siglist[] buy that the "*sys_siglist[]" doesn't? Why would not: extern const char *sys_sylist[]; suffice to tell the compiler that sys_siglist[] is an array of constant character pointers? gary -- Gary D. Kline kline@tao.thought.org Public access uNix
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0tQLAs-0001wxC>