Unix and Linux Discussions Tagged with long |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
16,106 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
10,069 |
Shell Programming and Scripting |
|
|
|
2 |
2,899 |
Shell Programming and Scripting |
|
|
|
1 |
5,425 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,935 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,477 |
Shell Programming and Scripting |
|
|
|
2 |
9,753 |
Shell Programming and Scripting |
|
|
|
6 |
13,402 |
Programming |
|
|
|
1 |
2,404 |
Shell Programming and Scripting |
|
|
|
0 |
1,357 |
UNIX and Linux RSS News |
|
|
|
3 |
15,871 |
Programming |
|
|
|
2 |
8,800 |
Shell Programming and Scripting |
|
|
|
3 |
4,021 |
Red Hat |
|
|
|
2 |
17,384 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,643 |
Programming |
|
|
|
1 |
2,512 |
Shell Programming and Scripting |
|
|
|
2 |
4,853 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
22,797 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,918 |
Software Releases - RSS News |
|
|
|
3 |
7,068 |
Shell Programming and Scripting |
|
|
|
4 |
2,973 |
Shell Programming and Scripting |
|
|
|
5 |
20,802 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
33,298 |
Solaris |
|
|
|
0 |
1,941 |
Security Advisories (RSS) |
|
|
|
1 |
4,517 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
4,116 |
AIX |
|
|
|
14 |
7,998 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,338 |
Programming |
|
|
|
1 |
23,900 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
8,285 |
Windows & DOS: Issues & Discussions |
|
|
|
2 |
7,243 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
10,552 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,544 |
IP Networking |
|
|
|
2 |
2,895 |
Programming |
|
|
|
1 |
7,191 |
Shell Programming and Scripting |
|
|
|
6 |
3,608 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,196 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
25,705 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
7,064 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
7,506 |
UNIX for Dummies Questions & Answers |
abs(3C) Standard C Library Functions abs(3C)
NAME
abs, labs, llabs - return absolute value of integer
SYNOPSIS
#include <stdlib.h>
int abs(int val);
long labs(long lval);
long long llabs(long long llval);
DESCRIPTION
The abs() function returns the absolute value of its int operand.
The labs() function returns the absolute value of its long operand.
The llabs() function returns the absolute value of its long long operand.
USAGE
In 2's-complement representation, the absolute value of the largest magnitude negative integral value is undefined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5), standards(5)
SunOS 5.11 24 Jul 2002 abs(3C)