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

Tom McLaughlin tmclaugh at sdf.lonestar.org
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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 01 04:00:40 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Tom McLaughlin
>Release:        FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:


System: FreeBSD 5.3-RELEASE-p5 #0: Sun Jan 30 23:37:04 EST 2005
    root at compass.straycat.dhs.org:/usr/obj/usr/src/sys/COMPASS



>Description:


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
unistd.h.


Ref: http://lists.gnupg.org/pipermail/gnupg-devel/2004-December/021554.html


>How-To-Repeat:





>Fix:





>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-threads mailing list