version 1.22, 2014/09/17 19:12:55 |
version 1.23, 2014/10/13 03:46:33 |
|
|
auto_switch_type "sigchld_name" "CLD_[A-Z]+[[:space:]]+[0-9]+" "sys/siginfo.h" |
auto_switch_type "sigchld_name" "CLD_[A-Z]+[[:space:]]+[0-9]+" "sys/siginfo.h" |
#auto_switch_type "lio_listioname" "LIO_(NO)?WAIT[[:space:]]+[0-9]+" "aio.h" |
#auto_switch_type "lio_listioname" "LIO_(NO)?WAIT[[:space:]]+[0-9]+" "aio.h" |
auto_switch_type "minheritname" "MAP_INHERIT_[A-Z]+[[:space:]]+[0-9]+" "sys/mman.h" |
auto_switch_type "minheritname" "MAP_INHERIT_[A-Z]+[[:space:]]+[0-9]+" "sys/mman.h" |
#auto_switch_type "quotactlname" "Q_[A-Z]+[[:space:]]+0x[0-9]+" "ufs/ufs/quota.h" |
auto_switch_type "quotactlname" "Q_[A-Z]+[[:space:]]+0x[0-9]+" "ufs/ufs/quota.h" |
auto_if_type "sockdomainname" "PF_[[:alnum:]]+[[:space:]]+" "sys/socket.h" |
auto_if_type "sockdomainname" "PF_[[:alnum:]]+[[:space:]]+" "sys/socket.h" |
auto_if_type "sockfamilyname" "AF_[[:alnum:]]+[[:space:]]+" "sys/socket.h" |
auto_if_type "sockfamilyname" "AF_[[:alnum:]]+[[:space:]]+" "sys/socket.h" |
auto_if_type "sockipprotoname" "IPPROTO_[[:alnum:]]+[[:space:]]+" "netinet/in.h" |
auto_if_type "sockipprotoname" "IPPROTO_[[:alnum:]]+[[:space:]]+" "netinet/in.h" |
|
|
sockflagsname (int arg) |
sockflagsname (int arg) |
{ |
{ |
dosocktypename(arg, 0); |
dosocktypename(arg, 0); |
|
} |
|
|
|
void |
|
quotactlcmdname(int cmd) |
|
{ |
|
printf("QCMD("); |
|
quotactlname(cmd >> SUBCMDSHIFT); |
|
switch (cmd & SUBCMDMASK) { |
|
case USRQUOTA: |
|
printf(",%s)", "USRQUOTA"); |
|
break; |
|
case GRPQUOTA: |
|
printf(",%s)", "GRPQUOTA"); |
|
break; |
|
default: |
|
printf(",<invalid>%#x)", cmd & SUBCMDMASK); |
|
break; |
|
} |
} |
} |
|
|
_EOF_ |
_EOF_ |