[1684] in Athena Bugs

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

C Lint library: setsockopt(2)

daemon@ATHENA.MIT.EDU (John T Kohl)
Sat Jan 21 13:50:21 1989

Date: Sat, 21 Jan 89 13:50:03 EST
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
The C lint library says this about the setsockopt() syscall:
int	setsockopt( s, level, opt, buf, len ) char *buf; { return 0;}

While the man page says:
     setsockopt(s, level, optname, optval, optlen)
     int s, level, optname;
     int *optval;
     int optlen;

Note the inconsistency on arg #4: one says char *, one says int *.

John

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