From owner-freebsd-questions Thu Dec 14 13:43:07 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA16796 for questions-outgoing; Thu, 14 Dec 1995 13:43:07 -0800 (PST) Received: from beaver.cs.washington.edu (beaver.cs.washington.edu [128.95.1.1]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id NAA16787 for ; Thu, 14 Dec 1995 13:43:01 -0800 (PST) Received: from tera.com (tera.com [128.95.3.1]) by beaver.cs.washington.edu (8.7.2/7.1be+) with SMTP id NAA02610 for ; Thu, 14 Dec 1995 13:43:02 -0800 (PST) Received: from tao.UUCP by tera.com (4.1/SMI-4.0) id AA08312; Thu, 14 Dec 95 13:42:10 PST Received: by tao.thought.org (Smail3.1.28.1 #1) id m0tQLAs-0001wxC; Thu, 14 Dec 95 13:26 PST Message-Id: From: kline@tao.thought.org (Gary D. Kline) Subject: ANSI/POSIX (?) question.... To: questions@freebsd.org (freebsd) Date: Thu, 14 Dec 1995 13:26:45 -0800 (PST) Organization: <> thought.org: public access uNix in service... <> X-Mailer: ELM [version 2.4 PL24 PGP2] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk 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