Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
pack_fputs(3)			 Allegro manual 		   pack_fputs(3)

NAME
     pack_fputs  -  Writes  a string to the stream. Allegro game programming li-
     brary.

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.

SEE ALSO
     pack_fopen(3), pack_fopen_chunk(3), pack_fwrite(3), pack_putc(3)

Allegro 			  version 4.4.3 		   pack_fputs(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pack_fputs&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help