*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> ttymsg (3)              



NAME    [Toc]    [Back]

     ttymsg - ttymsg utility function

LIBRARY    [Toc]    [Back]

     System Utilities Library (libutil, -lutil)

SYNOPSIS    [Toc]    [Back]

     #include <util.h>

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

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]


BSD                              June 29, 1997                             BSD
[ Back ]
 Similar pages
Name OS Title
ttyaction NetBSD ttyaction utility function
undocumented Linux No manpage for this program, utility or function.
dmicanytoany IRIX Any to Any image conversion utility function
pam-undocumented Linux No manpage for this PAM-related program, utility or function.
espreport IRIX 0espreport is a utility provided for viewing various reports from ESP on the command line. This utility bypass
espconfig IRIX 0espconfig is a utility provided for the configuration ESP from the command line. This utility bypasses the we
forkpty OpenBSD tty utility functions
openpty NetBSD tty utility functions
login_tty OpenBSD tty utility functions
mopchk OpenBSD MOP check utility
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service