Project

General

Profile

Bug #4545 » test.c

Marcel Telka, 2015-02-10 11:45 PM

 
1
#include <stdio.h>
2
#include <xti.h>
3
#include <fcntl.h>
4

    
5
int
6
main(void)
7
{
8
	int f = t_open("/dev/tcp", O_RDWR, NULL);
9

    
10
	if (f < 0)
11
		printf("t_open failed\n");
12

    
13
	return 0;
14
}
(1-1/2)