TTYMSG(3)               NetBSD Library Functions Manual              TTYMSG(3)

NAME
     ttymsg -- ttymsg utility function

LIBRARY
     System Utilities Library (libutil, -lutil)

SYNOPSIS
     #include <util.h>

     char *
     ttymsg(struct iovec *iov, int iovlen, const char *tty, int tmout);

DESCRIPTION
     The ttymsg() function is used by programs such as talkd(8), syslogd(8),
     wall(1), etc., to display the contents of a uio structure on a terminal.
     ttymsg() forks and finishes in the child if the write would block after
     waiting up to tmout seconds.

RETURN VALUES
     ttymsg() returns a pointer to an error string on unexpected error; the
     string is not newline-terminated.  Various "normal" errors are ignored
     (exclusive-use, lack of permission, etc.).

SEE ALSO
     writev(2)

NetBSD 6.0.1                     June 29, 1997                    NetBSD 6.0.1

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias <christia@softlab.ntua.gr>
©1996-2014 Modified for NetBSD by Kimmo Suominen