.\" Generated by the Allegro makedoc utility .TH pack_fputs 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME pack_fputs \- Writes a string to the stream. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int pack_fputs(const char *p, PACKFILE *f); .SH DESCRIPTION Writes a string to the stream `f'. The input string is 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. .SH "RETURN VALUE" Returns zero on success or a negative number on error. .SH SEE ALSO .BR pack_fopen (3alleg4), .BR pack_fopen_chunk (3alleg4), .BR pack_fwrite (3alleg4), .BR pack_putc (3alleg4)