No, fgets also stops at a newline, see this cite from cplusplus.com:
Ok.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.