Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!adm!rbbb@rice.EDU From: rbbb@rice.EDU (David Chase) Newsgroups: comp.lang.c Subject: volatile question Message-ID: <7124@brl-adm.ARPA> Date: Mon, 27-Apr-87 12:41:53 EDT Article-I.D.: brl-adm.7124 Posted: Mon Apr 27 12:41:53 1987 Date-Received: Tue, 28-Apr-87 01:47:43 EDT Sender: news@brl-adm.ARPA Lines: 9 How does one make the distinction (in C, as proposed by ANSI) between "a volatile pointer to something" and "a pointer to volatile something"? An example of a pointer to a volatile is the address of a memory-mapped device register; an example of a volatile pointer is an extern referenced in a signal handler. I imagine it is also possible to have a volatile pointer to a volatile something, but I can't think of any worthwhile examples. David