netbsd man page for ttymsg

Query: ttymsg

OS: netbsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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 termi- nal. 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)
BSD
June 29, 1997 BSD
Related Man Pages
properties_read(3) - freebsd
property(3) - freebsd
loginx(3) - netbsd
logoutx(3) - netbsd
strpct(3) - netbsd
Similar Topics in the Unix Linux Community
cant su to user or root AIX 5.3