blob: 087e22aebb27c9630b1781b20c428785ff6e2d8c (
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
|
#include <config.h>
#include <stdio.h>
#include <err.h>
#include <stdlib.h>
#include <unistd.h>
#include "nimisewi.h"
int
main(void)
{
char *ns;
#ifdef HAVE_PLEDGE
if (pledge("stdio", NULL) == -1) {
err(EXIT_FAILURE, "pledge failed");
}
#endif
printf("20 text/gemini\r\n");
printf("sina o lukin e nimi sewi:\n\n");
ns = nimi_sewi(6);
printf("# %s\n", ns);
weka_e_nimi_sewi(ns);
return EXIT_SUCCESS;
}
|