Blob
1 .TH ABS 32 .SH NAME3 abs, labs \- integer absolute values4 .SH SYNOPSIS5 .B #include <u.h>6 .br7 .B #include <libc.h>8 .PP9 .B10 int abs(int a)11 .PP12 .B13 long labs(long a)14 .SH DESCRIPTION15 .I Abs16 returns17 the absolute value of integer18 .IR a ,19 and20 .I labs21 does the same for a long.22 .SH SOURCE23 .B /usr/local/plan9/src/libc/port/abs.c24 .SH SEE ALSO25 .IR floor (3)26 for27 .I fabs28 .SH DIAGNOSTICS29 .I Abs30 and31 .I labs32 return33 the most negative integer or long when the true result is unrepresentable.