projects
/
ossec-hids.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- #10324: instalacija
[ossec-hids.git]
/
src
/
shared
/
tests
/
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 */