]> git.ozlabs.org Git - ccan/blob - ccan/antithread/_info.c
87a16ab5add45b540c2701e8ae50f10f13086a5e
[ccan] / ccan / antithread / _info.c
1 #include <stdio.h>
2 #include <string.h>
3 #include "config.h"
4
5 /**
6  * antithread - Accelerated Native Technology Implementation of "threads"
7  *
8  * Threads suck.  Antithreads try not to.  FIXME.
9  *
10  * Licence: LGPL (2 or any later version)
11  */
12 int main(int argc, char *argv[])
13 {
14         if (argc != 2)
15                 return 1;
16
17         if (strcmp(argv[1], "depends") == 0) {
18                 printf("ccan/talloc\n");
19                 printf("ccan/alloc\n");
20                 printf("ccan/noerr\n");
21                 return 0;
22         }
23
24         return 1;
25 }