Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!decwrl!ucbvax!mtxinu!sybase!mcfong@mercury.sybase.com From: mcfong@mercury.sybase.com (Martin C. Fong) Newsgroups: comp.unix.ultrix Subject: Use of 'volatile' on RISC ULTRIX C compiler Message-ID: <11190@sybase.sybase.com> Date: 5 Oct 90 23:29:28 GMT Sender: news@Sybase.COM Organization: Sybase, Inc. Lines: 23 How does the 'volatile' keyword affect the declarations below: volatile int * a; int volatile * b; int * volatile c; All three statements are legal under the RISC ULTRIX C compiler. Most of the documentation I have (including DEC's) does not elaborate enough (for me anyway) on how the 'volatile' declaration should be used. Thanks. Martin C. Fong Sybase Inc. 6475 Christie Ave. Emeryville, CA 94607 (415)596-3822 sun!sybase!mcfong mcfong@sybase.com decwrl::"@tis.llnl.gov:mcfong@sybase.com"