shithub: riscv

ref: 4ad59914e8a570d869f4e66540578cc3bdbc04eb
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); 
}