logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pack_fputs - Writes a string to the stream. Allegro game programming library.

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.

Name

       pack_fputs - Writes a string to the stream. Allegro game programming library.

Return Value

       Returns zero on success or a negative number on error.

See Also

pack_fopen(3alleg4), pack_fopen_chunk(3alleg4), pack_fwrite(3alleg4), pack_putc(3alleg4)

Allegro                                           version 4.4.3                              pack_fputs(3alleg4)

Synopsis

#include<allegro.h>intpack_fputs(constchar*p,PACKFILE*f);

See Also