summaryrefslogtreecommitdiff
path: root/src/shutdown/hpr_wall.c
blob: 9810a949fb3ca04ad4ddb4546b1fd90bbd187204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#include <string.h>
#include <sys/uio.h>

#include "hpr.h"

void hpr_wall (char const *s)
{
  struct iovec v[2] = { { .iov_base = (char *)s, .iov_len = strlen(s) }, { .iov_base = "\n", .iov_len = 1 } } ;
  hpr_wallv(v, 2) ;
}