projects
/
ossec-hids.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8ee3757d95edd1b424814bd664f6bfb55d576bda
[ossec-hids.git]
/
prime_test.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <unistd.h>
4
#include "math_op.h"
5
6
7
int main(int argc, char **argv)
8
{
9
if(!argv[1])
10
{
11
printf("%s <int>\n", argv[0]);
12
exit(1);
13
}
14
15
printf("Value: %d\n", os_getprime(atoi(argv[1])));
16
17
return(0);
18
}
19
20
21
/* EOF */