Go to main content
Oracle Developer Studio 12.5 Man Pages

Exit Print View

Updated: June 2017
 
 

long(3F)

Name

long, short - integer object conversion

Synopsis

integer*4 function long (int2)
integer*2 int2
integer*2 function short (int4)
integer*4 int4

Description

These functions provide conversion between short and long integer objects. long is useful when constants are used in calls to library routines, and the code is to be compiled with -i2.

short is useful in a similar context, when an otherwise long object must be passed as a short integer.

Files

libfsu.a