13 lines
230 B
C
13 lines
230 B
C
#include "main.h"
|
|
|
|
void copyFile(){
|
|
char buffer[256];
|
|
while(1){
|
|
if(!fgets(buffer , sizeof buffer , stdin)) break;
|
|
fprintf(stdout, "%s" , buffer);
|
|
}
|
|
}
|
|
|
|
int main(int argc , char** argv){
|
|
copyFile();
|
|
} |