www.delorie.com/gnu/docs/gcc/gnat_rm_9.html   search  
 
Buy the book!


GNAT Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Intrinsic Subprograms

5.1 Intrinsic Operators  
5.2 Enclosing_Entity  
5.3 Exception_Information  
5.4 Exception_Message  
5.5 Exception_Name  
5.6 File  
5.7 Line  
5.8 Rotate_Left  
5.9 Rotate_Right  
5.10 Shift_Left  
5.11 Shift_Right  
5.12 Shift_Right_Arithmetic  
5.13 Source_Location  

GNAT allows a user application program to write the declaration:

 
   pragma Import (Intrinsic, name);

providing that the name corresponds to one of the implemented intrinsic subprograms in GNAT, and that the parameter profile of the referenced subprogram meets the requirements. This chapter describes the set of implemented intrinsic subprograms, and the requirements on parameter profiles. Note that no body is supplied; as with other uses of pragma Import, the body is supplied elsewhere (in this case by the compiler itself). Note that any use of this feature is potentially non-portable, since the Ada standard does not require Ada compilers to implement this feature.


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright © 2003   by The Free Software Foundation     Updated Jun 2003