Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

input.c File Reference

Generic stdio-like input interface. More...


Functions

int snd_input_close (snd_input_t *input)
 Closes an input handle. More...

int snd_input_scanf (snd_input_t *input, const char *format,...)
 Reads formatted input (like fscanf(3)) from an input handle. More...

char * snd_input_gets (snd_input_t *input, char *str, size_t size)
 Reads a line from an input handle (like fgets(3)). More...

int snd_input_getc (snd_input_t *input)
 Reads a character from an input handle (like fgetc(3)). More...

int snd_input_ungetc (snd_input_t *input, int c)
 Puts the last character read back to an input handle (like ungetc(3)). More...

int snd_input_stdio_attach (snd_input_t **inputp, FILE *fp, int _close)
 Creates a new input object using an existing stdio FILE pointer. More...

int snd_input_stdio_open (snd_input_t **inputp, const char *file, const char *mode)
 Creates a new input object reading from a file. More...

int snd_input_buffer_open (snd_input_t **inputp, const char *buf, ssize_t size)
 Creates a new input object from a memory buffer. More...


Detailed Description

Generic stdio-like input interface.

Author:
Abramo Bagnara <abramo@alsa-project.org>
Date:
2000
Generic stdio-like input interface


Generated on Thu Feb 27 11:30:37 2003 for ALSA project - the C library reference by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002