91
Off-Topic / Re:Monarquía o república
« en: Abril 19, 2012, 07:30:25 pm »
ANDORRA PA NOSOTROS O PA NADIE
Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.
Pero piou ¿Nunca termina? Se haría aburrido
ademas esas sumas las e encontrado en una página web de ejercicios mentales rápidos... y estaban presentados por facil,normal,y dificil...
Saludos
FPURGE(3) Linux Programmer's Manual FPURGE(3)
NAME
fpurge, __fpurge - purge a stream
SYNOPSIS
/* unsupported */
#include <stdio.h>
int fpurge(FILE *stream);
/* supported */
#include <stdio.h>
#include <stdio_ext.h>
void __fpurge(FILE *stream);
DESCRIPTION
The function fpurge() clears the buffers of the given stream. For out‐
put streams this discards any unwritten output. For input streams this
discards any input read from the underlying object but not yet obtained
via getc(3); this includes any text pushed back via ungetc(3). See
also fflush(3).
The function __fpurge() does precisely the same, but without returning
a value.
RETURN VALUE
Upon successful completion fpurge() returns 0. On error, it returns -1
and sets errno appropriately.
NOTES
Usually it is a mistake to want to discard input buffers.