1 2 3 4 5 6
#pragma once #include <stdio.h> // IO helper. Read the entirety of a FILE* content into a freshly alloced array. // Returns NULL on error. char *drain(FILE *fp);