[4237] in Athena Bugs

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

vax 6.4R: /usr/lib/lint/llib-lc

daemon@ATHENA.MIT.EDU (John T Kohl)
Thu Feb 15 11:26:19 1990

Date: Thu, 15 Feb 90 11:25:46 -0500
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System name:		lycus
Type and version:	CVAXSTAR 6.4R
Display type:		SM

What were you trying to do?
	verify the getsockname() system call with the lint library.

What's wrong:

the lint library says:
int	getsockname(s, name, namelen) char *name; int *namelen; { return(0); }


What should have happened:
The second argument is a struct sockaddr *, not a char *.

Please describe any relevant documentation references:
	getsockname(2)


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