Date: Thu, 25 Dec 2008 10:18:35 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r186492 - head/share/man/man4 Message-ID: <200812251018.mBPAIZ41011198@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Thu Dec 25 10:18:35 2008 New Revision: 186492 URL: http://svn.freebsd.org/changeset/base/186492 Log: Update for the last API changes. Modified: head/share/man/man4/ng_tty.4 Modified: head/share/man/man4/ng_tty.4 ============================================================================== --- head/share/man/man4/ng_tty.4 Thu Dec 25 10:05:00 2008 (r186491) +++ head/share/man/man4/ng_tty.4 Thu Dec 25 10:18:35 2008 (r186492) @@ -35,7 +35,7 @@ .\" $FreeBSD$ .\" $Whistle: ng_tty.8,v 1.5 1999/01/25 23:46:28 archie Exp $ .\" -.Dd October 2, 2008 +.Dd December 25, 2008 .Dt NG_TTY 4 .Os .Sh NAME @@ -78,18 +78,6 @@ being connected to a .Xr ng_async 4 type node. The hot character has no effect on the transmission of data. -.Pp -The node will attempt to give itself the same netgraph name as the name -of the tty device. -In any case, information about the node is available via the netgraph -.Xr ioctl 2 -command -.Dv NGIOCGINFO . -This command returns a -.Dv "struct nodeinfo" -similar to the -.Dv NGM_NODEINFO -netgraph control message. .Sh HOOKS This node type supports the following hooks: .Pp @@ -112,7 +100,7 @@ so that all received data is forwarded i Returns an integer containing the current hot character in the lower eight bits. .It Dv NGM_TTY_SET_TTY -This command takes an integer pointer to the open file descriptor of the tty +This command takes integer process ID and file descriptor of open tty and registers the tty hooks. .El .Sh SHUTDOWN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812251018.mBPAIZ41011198>