freebsd-dev/usr.bin/wall/ttymsg.h
Dima Dorfman 728d043e5b - Move the prototype of ttymsg() into ttymsg.h. syslogd and talkd
also use this, and they shouldn't have to have their own prototypes.

- Silence warnings about constness and signedness in ttymsg().  This
  includes changing the return value to a `const char *', and changing
  the types of `left' and `wret' (both byte counts) to ssize_t.

Reviewed by:	bde
2001-09-09 14:23:31 +00:00

4 lines
77 B
C

/* $FreeBSD$ */
const char *ttymsg(struct iovec *, int, const char *, int);