Lines Matching defs:err
180 void error_handler(const char *file, int line, const char *function, int err, const char *fmt, ...)
190 buf, err ? ": " : "", err ? snd_strerror(err) : "");
193 buf, err ? ": " : "", err ? snd_strerror(err) : "");
200 int err, stdio_flag, lock_fd = -EINVAL;
205 err = snd_config_top(&config);
206 if (err < 0) {
207 error("snd_config_top error: %s", snd_strerror(err));
208 return err;
212 err = snd_input_stdio_attach(&in, stdin, 0);
215 err = lock_fd >= 0 ? snd_input_stdio_open(&in, file, "r") : lock_fd;
217 if (err < 0) {
222 err = snd_config_load(config, in);
224 if (err < 0) {
225 error("snd_config_load error: %s", snd_strerror(err));
231 return err;