O'Reilly logo

packetC Programming by Dwight Mulcahy, Ralph Duncan, Peder Jungck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R  22

image

Pragmas and Other Key Compiler Directives

Pragmas

Pragma clauses are compiler directives, which have the general form shown below:

%  pragma pragma_category  identifierOPT  pragma_argument_clauseOPT  ;

Pragma categories may be either language-defined or implementation defined. An identifier following the category indicator is typically an identifier from the packetC program, such as a variable or a user-defined type name. Legal arguments for a given category may be either language or implementation defined. The language-defined categories are:

  • control category pragmas govern the relationships with the control plane
  • data ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required