rename utils::fgets_trunc_nl() to utils::fgets_trunc()

This commit is contained in:
Axel Kohlmeyer
2021-04-27 18:32:51 -04:00
parent f29744b5bc
commit 7b1b57aa9b
4 changed files with 14 additions and 14 deletions

View File

@ -75,7 +75,7 @@ namespace LAMMPS_NS {
* \param size size of buffer s (max number of bytes returned)
* \param fp file pointer used by fgets() */
char *fgets_trunc_nl(char *s, int size, FILE *fp);
char *fgets_trunc(char *s, int size, FILE *fp);
/** Safe wrapper around fgets() which aborts on errors
* or EOF and prints a suitable error message to help debugging.