Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!pyramid!prls!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP Newsgroups: comp.lang.c Subject: Re: volatile question Message-ID: <763@mcgill-vision.UUCP> Date: Thu, 7-May-87 04:37:01 EDT Article-I.D.: mcgill-v.763 Posted: Thu May 7 04:37:01 1987 Date-Received: Thu, 14-May-87 01:34:07 EDT References: <7124@brl-adm.ARPA> Organization: McGill University, Montreal Lines: 17 In article <7124@brl-adm.ARPA>, rbbb@rice.EDU (David Chase) writes: > How does one make the distinction (in C, as proposed by ANSI) between > "a volatile pointer to something" and "a pointer to volatile > something"? Someone posted something about "char * volatile foo". Somehow I would prefer (volatile char) *foo; and volatile (char *) foo; Would these be legal? Would they have the desired effects? der Mouse (mouse@mcgill-vision.uucp)