Lines Matching defs:line
104 static void syslog_(int prio, const char *fcn, long line,
109 snprintf(buf, sizeof(buf), "%s: %s:%ld: ", command, fcn, line);
116 void info_(const char *fcn, long line, const char *fmt, ...)
122 syslog_(LOG_INFO, fcn, line, fmt, ap);
124 fprintf(stdout, "%s: %s:%ld: ", command, fcn, line);
131 void error_(const char *fcn, long line, const char *fmt, ...)
137 syslog_(LOG_ERR, fcn, line, fmt, ap);
139 fprintf(stderr, "%s: %s:%ld: ", command, fcn, line);
146 void cerror_(const char *fcn, long line, int cond, const char *fmt, ...)
154 syslog_(LOG_ERR, fcn, line, fmt, ap);
156 fprintf(stderr, "%s: %s:%ld: ", command, fcn, line);
163 void dbg_(const char *fcn, long line, const char *fmt, ...)
171 syslog_(LOG_DEBUG, fcn, line, fmt, ap);
173 fprintf(stderr, "%s: %s:%ld: ", command, fcn, line);
180 void error_handler(const char *file, int line, const char *function, int err, const char *fmt, ...)
189 syslog(LOG_ERR, "alsa-lib %s:%i:(%s) %s%s%s\n", file, line, function,
192 fprintf(stderr, "alsa-lib %s:%i:(%s) %s%s%s\n", file, line, function,