* Add a test to use string for $fgets * Use dedicated function for $fgets to std::string * share the implementation of $fgets * Pass -1 for bitwidth of std::string to distinguish from POD * add checks for scanf with string * apply clang-format