TIOCGPGRP copies an int out of the kernel
[unix-history] / usr / src / lib / libc / stdlib / labs.3
CommitLineData
32811017
KB
1.\" Copyright (c) 1990 The Regents of the University of California.
2.\" All rights reserved.
3.\"
4.\" %sccs.include.redist.man%
5.\"
6.\" @(#)labs.3 5.1 (Berkeley) %G%
7.\"
8.TH LABS 3 ""
9.UC 7
10.SH NAME
11labs \- return the absolute value of a long integer
12.SH SYNOPSIS
13.nf
14.ft B
15#include <stdlib.h>
16
17long
18labs(long j);
19.ft R
20.fi
21.SH DESCRIPTION
22.B Labs
23returns the absolute value of the long integer
24.IR n .
25.SH SEE ALSO
26abs(3), floor(3)
27.SH STANDARDS
28.B Labs
29conforms to ANSI X3.159-1989 (``ANSI C'').
30.SH BUGS
31The absolute value of the most negative integer remains negative.