ABS(2) System Calls Manual ABS(2)NAMEabs, labs - integer absolute valuesSYNOPSIS#include <u.h> #include <libc.h> int abs(int a) long labs(long a)DESCRIPTIONAbs returns the absolute value of integer a, and labs does the same for a long.SOURCE/sys/src/libc/port/abs.cSEE ALSOfloor(2) for fabsDIAGNOSTICSAbs and labs return the most negative integer or long when the true result is unrepresentable. ABS(2)
| Related Man Pages |
|---|
| abs(3) - centos |
| labs(3) - centos |
| abs(3) - suse |
| labs(3) - suse |
| abs(3) - xfree86 |