1 /* Copyright (C) 2009 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
13 /* Get the first available prime after the provided value
16 unsigned int os_getprime(unsigned int val)
21 /* Value can't be even */
27 /* We just need to check odd numbers up until half
28 * the size of the provided value