Lines Matching refs:stdio
128 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_close() local
129 if (stdio->close) in snd_input_stdio_close()
130 fclose(stdio->fp); in snd_input_stdio_close()
131 free(stdio); in snd_input_stdio_close()
137 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_scan() local
139 return vfscanf(stdio->fp, format, args); in snd_input_stdio_scan()
144 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_gets() local
145 return fgets(str, (int) size, stdio->fp); in snd_input_stdio_gets()
150 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_getc() local
151 return getc(stdio->fp); in snd_input_stdio_getc()
156 snd_input_stdio_t *stdio = input->private_data; in snd_input_stdio_ungetc() local
157 return ungetc(c, stdio->fp); in snd_input_stdio_ungetc()
182 snd_input_stdio_t *stdio; in snd_input_stdio_attach() local
184 stdio = calloc(1, sizeof(*stdio)); in snd_input_stdio_attach()
185 if (!stdio) in snd_input_stdio_attach()
189 free(stdio); in snd_input_stdio_attach()
192 stdio->fp = fp; in snd_input_stdio_attach()
193 stdio->close = _close; in snd_input_stdio_attach()
196 input->private_data = stdio; in snd_input_stdio_attach()