see: https://github.com/ppshobi/psonic/pull/23 I think `fgets` could be replaced with a buffer size from enviroment
see: #23
I think
fgetscould be replaced with a buffer size from enviroment