Query: pack_fputs
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
pack_fputs(3alleg4) Allegro manual pack_fputs(3alleg4)NAMEpack_fputs - Writes a string to the stream. Allegro game programming library.SYNOPSIS#include <allegro.h> int pack_fputs(const char *p, PACKFILE *f);DESCRIPTIONWrites 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 ` ' on DOS and Windows platforms. If you don't want this behaviour, use pack_fwrite() and/or pack_putc() instead.RETURN VALUEReturns zero on success or a negative number on error.SEE ALSOpack_fopen(3alleg4), pack_fopen_chunk(3alleg4), pack_fwrite(3alleg4), pack_putc(3alleg4) Allegro version 4.4.2 pack_fputs(3alleg4)