Add debug_return_ssize_t

This commit is contained in:
Todd C. Miller
2015-11-01 15:13:28 -07:00
parent c6dad0001d
commit 8b12390abf
4 changed files with 23 additions and 5 deletions

View File

@@ -456,6 +456,14 @@ sudo_debug_exit_size_t_v1(const char *func, const char *file, int line,
"<- %s @ %s:%d := %zu", func, file, line, rval);
}
void
sudo_debug_exit_ssize_t_v1(const char *func, const char *file, int line,
int subsys, ssize_t rval)
{
sudo_debug_printf2(NULL, NULL, 0, subsys | SUDO_DEBUG_TRACE,
"<- %s @ %s:%d := %zd", func, file, line, rval);
}
void
sudo_debug_exit_bool_v1(const char *func, const char *file, int line,
int subsys, bool rval)