pack_fputs (3) - Linux Manuals
pack_fputs: Writes a string to the stream. Allegro game programming library.
Command to display pack_fputs
manual in Linux: $ man 3 pack_fputs
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
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.
RETURN VALUE
Returns zero on success or a negative number on error.
Pages related to pack_fputs
- pack_fclose (3) - Closes a stream previously opened. Allegro game programming library.
- pack_fclose_chunk (3) - Closes a previously opened sub-chunk. Allegro game programming library.
- pack_feof (3) - Returns nonzero as soon as you reach the end of the file. Allegro game programming library.
- pack_ferror (3) - Tells if an error occurred during an operation on the stream. Allegro game programming library.
- pack_fgets (3) - Reads a line from the stream. Allegro game programming library.
- pack_fopen (3) - Opens a file according to mode. Allegro game programming library.
- pack_fopen_chunk (3) - Opens a sub-chunk of a file. Allegro game programming library.
- pack_fopen_vtable (3) - Allegro game programming library.
- pack_fread (3) - Reads n bytes from the stream. Allegro game programming library.
- pack_fseek (3) - Seeks inside a stream. Allegro game programming library.