SO_TYPE
(void)getsockopt(fd, SOL_SOCKET, SO_TYPE, &list->fds[i].type, &slen);
if (getsockopt(sock, SOL_SOCKET, SO_TYPE,
if (_getsockopt(fd, SOL_SOCKET, SO_TYPE, &type, &len) < 0)
return (SO_TYPE);
case SO_TYPE:
opt.sopt_name = SO_TYPE;
if (getsockopt(sock, SOL_SOCKET, SO_TYPE, &sotype, &sotypelen) < 0)
if (getsockopt(p->fd, SOL_SOCKET, SO_TYPE, &type, &sz) == -1) {
if (getsockopt(p->fd, SOL_SOCKET, SO_TYPE, &type, &sz) == -1) {
if (getsockopt(0, SOL_SOCKET, SO_TYPE,
if (getsockopt(0, SOL_SOCKET, SO_TYPE,
if (getsockopt(0, SOL_SOCKET, SO_TYPE,
SO_TYPE, &type, &len) == -1) {
SO_TYPE, &type, &len) == -1) {