FireBirdLib - Topfield TMS PVR TAP Programming Library
PrintNet.c
Go to the documentation of this file.
1
#include <fcntl.h>
2
#include <unistd.h>
3
#include <string.h>
4
#include "
libFireBird.h
"
5
6
char
PrintNetBuffer
[1024];
7
8
void
PrintNet
(
char
*puffer)
9
{
10
int
i = 0;
11
int
fd;
12
char
fn[12];
13
14
do
15
{
16
TAP_SPrint(fn,
"/dev/pts/%d"
, i);
17
fd = open(fn, O_RDWR);
18
if
(fd >= 0)
19
{
20
write(fd, puffer, strlen(puffer));
21
close(fd);
22
23
return
;
24
}
25
i++;
26
}
27
while
(i < 20);
28
}
PrintNet
void PrintNet(char *puffer)
Definition:
PrintNet.c:8
PrintNetBuffer
char PrintNetBuffer[1024]
Definition:
PrintNet.c:6
libFireBird.h
debug
PrintNet.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3