12 lines
248 B
C
12 lines
248 B
C
/*
|
|
* Copyright (c) 1980 Regents of the University of California.
|
|
* All rights reserved. The Berkeley software License Agreement
|
|
* specifies the terms and conditions for redistribution.
|
|
*/
|
|
|
|
abs(arg)
|
|
int arg;
|
|
{
|
|
return(arg < 0 ? -arg : arg);
|
|
}
|