Previous: Solaris Pragmas, Up: Pragmas


5.46.6 Tru64 Pragmas

For compatibility with the Compaq C compiler, the following pragma is supported.

extern_prefix string
This pragma renames all subsequent function and variable declarations such that string is prepended to the name. This effect may be terminated by using another extern_prefix pragma with the empty string.

This pragma is similar in intent to to the asm labels extension (see Asm Labels) in that the system programmer wants to change the assembly-level ABI without changing the source-level API. The preprocessor defines __PRAGMA_EXTERN_PREFIX if the pragma is available.