blob: daa1effeeac43b0fe2df72628e1f70a027e0bb00 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#include <s.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "logerr.h"
#include "meta.h"
#include "lib.h"
int
pindaiba_main(int argc, char *argv[]) {
int rc = EXIT_FAILURE;
(void)argc;
(void)argv;
if (printf("%s %s %s\n", NAME, VERSION, DATE) < 0) {
logerr("printf(): %s", strerror(errno));
goto out;
}
rc = EXIT_SUCCESS;
out:
return rc;
}
|