From ba4f62f7d241e2837111102a4dda0c917d544c99 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 18 Sep 2008 04:07:26 -0700 Subject: fdprintf and vfdprintf get error handling --- src/myfprintf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/myfprintf.h') diff --git a/src/myfprintf.h b/src/myfprintf.h index 393a22a08..cb8a0a9f9 100644 --- a/src/myfprintf.h +++ b/src/myfprintf.h @@ -22,7 +22,7 @@ #include "gcc.h" #include "os_compat.h" -mpd_fprintf void fdprintf(const int fd, const char *fmt, ...); -void vfdprintf(const int fd, const char *fmt, va_list arglist); +mpd_fprintf ssize_t fdprintf(const int fd, const char *fmt, ...); +ssize_t vfdprintf(const int fd, const char *fmt, va_list arglist); #endif -- cgit v1.2.3