diff --git a/usr.bin/utest/utest.c b/usr.bin/utest/utest.c index f94f97e..78e4a28 100644 --- a/usr.bin/utest/utest.c +++ b/usr.bin/utest/utest.c @@ -21,6 +21,15 @@ size_t strlen(const char *c) void _start() { + int fd = open("/dev/broadcast", 0); + if (fd < 0) + while (1) + ; + + char msg[] = "Hello, userspace!\n"; + write(fd, msg, strlen(msg)); + close(fd); + while (1) ; }