xref: /original-bsd/share/man/man3f/long.3 (revision 0f30d223)
Copyright (c) 1983 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)long.3 6.1 (Berkeley) 05/15/85

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