diff options
author | mav <mav@FreeBSD.org> | 2008-12-25 10:18:35 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2008-12-25 10:18:35 +0000 |
commit | 69460f7965c65bcb613097dd6715e3779420ec53 (patch) | |
tree | ec4a253e1d96fda4a3283b4c284da7897af25e3e /share | |
parent | 67c6448f1b8fa577830fbd6c47c0b1498b81d5b9 (diff) | |
download | FreeBSD-src-69460f7965c65bcb613097dd6715e3779420ec53.zip FreeBSD-src-69460f7965c65bcb613097dd6715e3779420ec53.tar.gz |
Update for the last API changes.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/ng_tty.4 | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/share/man/man4/ng_tty.4 b/share/man/man4/ng_tty.4 index fb87735..ec5b4c8 100644 --- a/share/man/man4/ng_tty.4 +++ b/share/man/man4/ng_tty.4 @@ -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 immediately. 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 |