mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-18 08:56:42 -05:00
Initial code for lisp interpreter
This commit is contained in:
parent
8b1ac5a638
commit
640ee8faa7
15 changed files with 1926 additions and 6 deletions
12
src/output.c
12
src/output.c
|
|
@ -78,6 +78,18 @@ int snd_output_printf(snd_output_t *output, const char *format, ...)
|
|||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Writes formatted output (like \c fprintf(3)) to an output handle.
|
||||
* \param output The output handle.
|
||||
* \param format Format string in \c fprintf format.
|
||||
* \param args Other \c fprintf arguments.
|
||||
* \return The number of characters written, or a negative error code.
|
||||
*/
|
||||
int snd_output_vprintf(snd_output_t *output, const char *format, va_list args)
|
||||
{
|
||||
return output->ops->print(output, format, args);
|
||||
}
|
||||
|
||||
/**
|
||||
* \brief Writes a string to an output handle (like \c fputs(3)).
|
||||
* \param output The output handle.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue