1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-04 17:51:03 +00:00

22 lines
371 B
C
Raw Permalink Normal View History

2022-08-18 13:40:33 -04:00
#include "fspr.h"
#include <stdio.h>
#if APR_HAVE_UNISTD_H
#include <unistd.h>
#endif
#if APR_HAVE_IO_H
#include <io.h>
#endif
#include <stdlib.h>
int main(void)
{
char buf[256];
2022-08-18 13:40:33 -04:00
fspr_ssize_t bytes;
bytes = read(STDIN_FILENO, buf, 256);
if (bytes > 0)
write(STDOUT_FILENO, buf, bytes);
return 0; /* just to keep the compiler happy */
}