view src/lib/primes.h @ 58:8aaa39e7aec8 HEAD

sendfile() works now properly with 64bit off_t
author Timo Sirainen <tss@iki.fi>
date Wed, 28 Aug 2002 03:11:51 +0300
parents e399e33d033d
children e4eb71ae8e96
line wrap: on
line source

#ifndef __PRIMES_H
#define __PRIMES_H

/* Returns a prime close to specified number, or the number itself if it's
   a prime. Note that the returned value may be smaller than requested! */
unsigned int primes_closest(unsigned int num);

#endif