Deleted Added
full compact
29c29
< .\" $FreeBSD: head/lib/libc/gen/ttyname.3 191938 2009-05-09 16:42:57Z ed $
---
> .\" $FreeBSD: head/lib/libc/gen/ttyname.3 202274 2010-01-14 05:35:32Z ed $
37,38c37
< .Nm isatty ,
< .Nm ttyslot
---
> .Nm isatty
50,51d48
< .Ft int
< .Fn ttyslot void
92,98d88
< .Pp
< The
< .Fn ttyslot
< function
< fetches the current process' control terminal number from the
< .Xr ttys 5
< file entry.
113,118d102
< .Pp
< The
< .Fn ttyslot
< function
< returns the unit number of the device file if found; otherwise
< the value zero is returned.
145,146c129
< .Fn isatty ,
< .Fn ttyname ,
---
> .Fn isatty
148c131
< .Fn ttyslot
---
> .Fn ttyname