threads/76938: include/unistd.h: ttyname_r prototype missing

Tom McLaughlin tmclaugh at
Mon Jan 31 20:00:41 PST 2005

>Number:         76938
>Category:       threads
>Synopsis:       include/unistd.h: ttyname_r prototype missing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-threads
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 01 04:00:40 GMT 2005
>Originator:     Tom McLaughlin
>Release:        FreeBSD 5.3-RELEASE-p5 i386

System: FreeBSD 5.3-RELEASE-p5 #0: Sun Jan 30 23:37:04 EST 2005
    root at


While trying to port Mono 1.1.3 recently I ran into compilation failures due
to ttyname_r missing.  After some research I found the link below which
explains that FreeBSD provides ttyname_r but lacks the prototype for it in





More information about the freebsd-threads mailing list