cvs commit: src/lib/libc/gen ttyname.3 ttyname.c
Daniel Eischen
deischen at freebsd.org
Tue Mar 8 21:52:17 GMT 2005
On Tue, 8 Mar 2005, Poul-Henning Kamp wrote:
> phk 2005-03-08 21:35:52 UTC
>
> FreeBSD src repository
>
> Modified files:
> lib/libc/gen ttyname.3 ttyname.c
> Log:
> Have ttyname_r() try to ask DEVFS for the device name.
>
> Document ttyname_r().
ttyname_r() currently doesn't agree with the POSIX spec which
is probably why it isn't documented or in <unistd.h>. The
prototype for ttyname_r() is suppose to be:
int ttyname_r(int, char *, size_t);
There's patches (PRs I think) out there to fix it, but I think
they're waiting for Kris to scan ports to see if there are any
uses of the old undocumented API. I think you can find related
mail in -threads and/or -standards.
--
DE
More information about the cvs-src
mailing list