Use of 'volatile' on RISC ULTRIX C compiler

Martin C. Fong mcfong at mercury.sybase.com
Sat Oct 6 09:29:28 AEST 1990


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 at sybase.com
decwrl::"@tis.llnl.gov:mcfong at sybase.com"



More information about the Comp.unix.ultrix mailing list