From 844a19f9bfe01286ca9974aff0e6d38693e05877 Mon Sep 17 00:00:00 2001 From: pk33 Date: Sun, 3 Nov 2024 12:07:55 +0100 Subject: cleanup code & term handlers --- include/options.h | 2 ++ include/system.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/options.h b/include/options.h index 2e71ad6..2ce1726 100644 --- a/include/options.h +++ b/include/options.h @@ -2,6 +2,8 @@ #define __OPTIONS_H__ +#define LOG_PATH "/dev/tty3" + #define DRM_DEVICE "/dev/dri/card1" #define DRM_MODE "1366x768" #define DRM_RATE 60 diff --git a/include/system.h b/include/system.h index b97daff..68cbac9 100644 --- a/include/system.h +++ b/include/system.h @@ -18,7 +18,9 @@ err e33_ioctl( Size fd, unsigned long req, void *arg ); -boolean strcomp( String s1, String s2 ); +boolean e33_strcmp( String s1, String s2 ); +err e33_has_signal(Size signo); +err e33_set_signal(Size signo, void(*sig_handler)(int)); #endif /** __SYSTEM_H__ **/ -- cgit v1.2.3