1pack_fputs(3)                   Allegro manual                   pack_fputs(3)
2
3
4

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       int pack_fputs(const char *p, PACKFILE *f);
14

DESCRIPTION

16       Writes a string to the stream `f'. The input string is  converted  from
17       the current text encoding format to UTF-8 before writing. Newline char‐
18       acters are written as `\r\n' on DOS and Windows platforms. If you don't
19       want this behaviour, use pack_fwrite() and/or pack_putc() instead.
20

RETURN VALUE

22       Returns zero on success or a negative number on error.
23
24

SEE ALSO

26       pack_fopen(3), pack_fopen_chunk(3), pack_fwrite(3), pack_putc(3)
27
28
29
30Allegro                          version 4.2.2                   pack_fputs(3)
Impressum