[451] in Athena Bugs

home help back first fref pref prev next nref lref last post

libc lint library getsockname() incorrect.

daemon@ATHENA.MIT.EDU (John T Kohl)
Wed Jun 22 11:07:46 1988

Date: Wed, 22 Jun 88 11:07:06 EDT
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
(This appears in VAX 6.0B, but I am reasonably sure this is a bug in all
releases)

the manual page sez:
SYNOPSIS
     getsockname(s, name, namelen)
     int s;
     struct sockaddr *name;
     int *namelen;

llib-lc sez:
int	getsockname(s, name, namelen) char *name; int *namelen; { return(0); }

when it should say
int	getsockname(s, name, namelen) struct sockaddr *name; int *namelen; { return(0); }


home help back first fref pref prev next nref lref last post