shithub: riscv

ref: 18bfca7978bdaf7dc96e4b1a5b64ae9283856782
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); 
}