blob: 2f4bfd48b9d3690ee140cc779ff7af380acab5c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// : out examplesodium.exe
// : dep libsodium
// : arg -lsodium
#include <sodium.h>
int
main (void)
{
if (sodium_init () < 0)
{
/* panic! the library couldn't be initialized; it is not safe to use */
}
printf ("Omni/Bild/Example.c: Hello world!\n");
return 0;
}
|