Minimal device system, implement terminal device and libterminal
All checks were successful
Build documentation / build-and-deploy (push) Successful in 55s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 55s
This commit is contained in:
8
libterminal/terminal/terminal.c
Normal file
8
libterminal/terminal/terminal.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <stddef.h>
|
||||
#include <terminal/device.h>
|
||||
#include <terminal/terminal.h>
|
||||
#include <m/system.h>
|
||||
|
||||
void terminal_print (const char* string, size_t len) {
|
||||
device_do (TERMINAL_DEVICE, TERMINAL_PUTSTR, (void*)string, &len, NULL, NULL);
|
||||
}
|
||||
Reference in New Issue
Block a user