The implementation didn't fully followed the POSIX.1-2024 standard "The puts() function shall write the string pointed to by s, followed by a <newline>, to the standard output stream stdout. The terminating null byte shall not be written."
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This change is a fix for fread() because it needs to pass the if statement: "if (stream->buffer_pos >= stream->buffer_size)"
Signed-off-by: EnderIce2 <enderice2@protonmail.com>