Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ttyname(3) no longer returns /dev prefix?



On Tue, Jun 12, 2012 at 01:16:20PM +0200, Joerg Sonnenberger wrote:
> On Tue, Jun 12, 2012 at 12:32:09AM -0500, Dave Huang wrote:
> > It seems that ttyname(3) no longer returns the full path to the tty
> > device file in /dev; it returns only the device name. E.g., it returns
> > "ttyE0" instead of "/dev/ttyE0". Is this intentional?
> 
> No, it isn't. Please try the attached patch.

That fixes it; thanks! :)


Home | Main Index | Thread Index | Old Index