shithub: riscv

ref: 7e4d9a4bfa2148c07930dd45b4e7d3071ff6180e
dir: /sys/src/cmd/unix/drawterm/kern/uart.c/

View raw version
#include "u.h"
#include "lib.h"
#include "dat.h"
#include "fns.h"
#include "error.h"

extern int panicking;
void
uartputs(char *s, int n)
{
	if(panicking)
		write(1, s, n); 
}