The goal is to read a file and write the buffer directly to stdout so it can be used for further processing. This goes as expected for text files, images and pdf. But when reading a pdf file a weird input is displayed in the shell input namely: 62;9;c62;9;c62;9;c62;9;c. I compiled test.c on Ubuntu 14.04.3 LTS (14.04) trusty.The goal is to read a file and write the buffer