BSD 4_3 release
[unix-history] / usr / man / man3 / long.3f
CommitLineData
36d4a36a
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
95f51977 5.\" @(#)long.3f 6.1 (Berkeley) 5/15/85
36d4a36a 6.\"
95f51977 7.TH LONG 3F "May 15, 1985"
36d4a36a
KM
8.UC 5
9.SH NAME
10long, short \- integer object conversion
11.SH SYNOPSIS
12.B integer*4 function long (int2)
13.br
14.B integer*2 int2
15.sp 1
16.B integer*2 function short (int4)
17.br
18.B integer*4 int4
19.SH DESCRIPTION
20These functions provide conversion between short and long integer objects.
21.I Long
22is useful when constants are used in calls to library routines and
23the code is to be compiled with ``-i2''.
24.I Short
25is useful in similar context when an otherwise long object must be
26passed as a short integer.
27.SH FILES
28.ie \nM /usr/ucb/lib/libF77.a
29.el /usr/lib/libF77.a