pack_fputs(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

okay bestie, you found the Allegro manual page for pack_fputs(3) β€” it’s giving β€œwrite a string to a stream” and honestly? iconic. let’s get into it πŸ’–

✨ NAME ✨

pack_fputs β€” writes a string to the stream. Allegro game programming library. πŸŽ€

🌸 SYNOPSIS 🌸

#include <allegro.h>

int pack_fputs(const char *p, PACKFILE *f);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here’s the vibe: pack_fputs writes a string to the stream f. The input string gets converted from the current text encoding format to UTF-8 before writing. Newline characters are written as \r\n on DOS and Windows platforms. If you don’t want this behaviour, use pack_fwrite() and/or pack_putc() instead. no cap. ✨

πŸ’… RETURN VALUE πŸ’…

Returns zero on success or a negative number on error. periodt. 😭

🌈 SEE ALSO 🌈


mwah πŸ’‹ this was the Allegro manual, version 4.4.3, page pack_fputs(3). byeee bestie, go write some strings πŸ«ΆπŸ’–

πŸ“¦ where this page comes from