Re: Simple Bug in unix(7) man page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Under the BUGS section this code snippet appears:

if (getsockname(sfd, (struct sockaddr *) addrp, &addrlen)) != -1)
              /* handle error */ ;


This should be changed to == -1, or < 0, since getsockname(2) returns
-1 on error.

Looks like just a simple typo.

Thanks,
Scott Harvey
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux