aboutsummaryrefslogtreecommitdiff
path: root/test.c
blob: b7f962740c0af089345c57072c6e5c0022706da2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <unistd.h>
#include <stdio.h>


#include <survive.h>

int main()
{
	struct SurviveContext * ctx = survive_init( &ctx );

	if( !ctx )
	{
		fprintf( stderr, "Fatal.\n" );
		return 1;
	}

	while(survive_poll(ctx) == 0)
	{
		
	}
}