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

FreeBSD Manual Pages

  
 
  

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

NAME
       pack_ungetc  - Moves one	single character back to the input buffer. Al-
       legro game programming library.

SYNOPSIS
       #include	<allegro.h>

       int pack_ungetc(int c, PACKFILE *f);

DESCRIPTION
       Puts a character	back to	the file's input buffer. Like with ungetc from
       libc, only a single push	back is	guaranteed.

       Note:  pack_fgets internally uses pack_ungetc, so never use pack_ungetc
       directly	after using pack_fgets on a PACKFILE.

RETURN VALUE
       Returns c on success, or	EOF on error.

SEE ALSO
       pack_getc(3), pack_fgets(3)

Allegro				 version 4.4.3			pack_ungetc(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pack_ungetc&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help