From owner-cvs-all@FreeBSD.ORG Tue Mar 8 21:52:16 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C00B616A4CF; Tue, 8 Mar 2005 21:52:16 +0000 (GMT) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EAE543D49; Tue, 8 Mar 2005 21:52:16 +0000 (GMT) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) j28LqFU8005104; Tue, 8 Mar 2005 16:52:15 -0500 (EST) Date: Tue, 8 Mar 2005 16:52:15 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Poul-Henning Kamp In-Reply-To: <200503082135.j28LZqYh027693@repoman.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org Subject: Re: cvs commit: src/lib/libc/gen ttyname.3 ttyname.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Daniel Eischen List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 21:52:17 -0000 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 . 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