projects
/
ossec-hids.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
334a7ed2ecb4f5e8768c37893c1d055d5f3566e1
[ossec-hids.git]
/
prime_test.c
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <unistd.h>
4
5
#include "math_op.h"
6
7
8
int main(int argc, char **argv)
9
{
10
if (!argv[1]) {
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