xref: /original-bsd/share/man/man3f/long.3 (revision c3e32dec)
Copyright (c) 1983, 1993
The Regents of the University of California. All rights reserved.

%sccs.include.proprietary.roff%

@(#)long.3 8.1 (Berkeley) 06/05/93

LONG 3F ""
C 5
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 similar context when an otherwise long object must be passed as a short integer.
FILES