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