ftp.nice.ch/pub/next/developer/nextsources/cctools.s.tar.gz#/cctools/libstuff/round.c

This is round.c in view mode; [Download] [Up]

#include "stuff/round.h"
/*
 * round() rounds v to a multiple of r.
 */
long
round(
long v,
unsigned long r)
{
	r--;
	v += r;
	v &= ~(long)r;
	return(v);
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.