blob: 1f47f6b0f104c4a2e948212c4280afb47694d0bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <stdio.h>
int main()
{
char buffer[1024];
for (;;) {
size_t num = fread(buffer, 1, sizeof(buffer), stdin);
if (num <= 0)
break;
fwrite(buffer, num, 1, stdout);
fflush(stdout);
}
return 0;
}
|