Unix/Linux Go Back    


NetBSD 6.1.5 - man page for ttymsg (netbsd section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


TTYMSG(3)			   BSD 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 new-
     line-terminated.  Various "normal" errors are ignored (exclusive-use, lack of permission,
     etc.).

SEE ALSO
     writev(2)

BSD					  June 29, 1997 				      BSD
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 06:07 AM.