diff util.h @ 2032:441d5d6cea2f

Make KDEBUG functionality play nice with gdb remote debugging
author Michael Pavone <pavone@retrodev.com>
date Sat, 20 Feb 2021 14:52:32 -0800
parents 5a76a7373823
children 237068a25523
line wrap: on
line diff
--- a/util.h	Sat Feb 20 14:51:45 2021 -0800
+++ b/util.h	Sat Feb 20 14:52:32 2021 -0800
@@ -88,6 +88,8 @@
 void debug_message(char *format, ...);
 //Disables output of info and debug messages to stdout
 void disable_stdout_messages(void);
+//Returns stdout disable status
+uint8_t is_stdout_enabled(void);
 //Deletes a file, returns true on success, false on failure
 uint8_t delete_file(char *path);
 //Initializes the socket library on platforms that need it