summaryrefslogtreecommitdiff
path: root/msgerr.cc
blob: b0f601bbb2a35d1ba3fb495a36ab80875d541bd5 (plain) (blame)
1
2
3
4
5
6
7
# include <fcntl.h>
# include <luma/main.hh>
# include <unistd.h>
void luma::msgerr(char const * msg) {
	int pipe = ::open("/dev/stderr",O_WRONLY);
	return luma::msg(pipe,msg);
}