I am trying to write a cat clone to exercise C, I have this code:
#include #define BLOCK_SIZE 512 int main(int argc, const char *argv[]) { if
i can quote an answer by me: https://stackoverflow.com/a/296018/27800
fread(buffer, sizeof(char), block_size, stdin);