summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getopt.3
diff options
context:
space:
mode:
authorjaredy <>2005-07-23 04:15:49 +0000
committerjaredy <>2005-07-23 04:15:49 +0000
commit2c2fe16031333976a7e95d7e0caf5fc7f8c32412 (patch)
treeebbed1ec9881199a73693c582c1f3c304d4f5e42 /src/lib/libc/stdlib/getopt.3
parent3553ae132550867ea92f1c819130713a94c9aa57 (diff)
downloadopenbsd-2c2fe16031333976a7e95d7e0caf5fc7f8c32412.tar.gz
openbsd-2c2fe16031333976a7e95d7e0caf5fc7f8c32412.tar.bz2
openbsd-2c2fe16031333976a7e95d7e0caf5fc7f8c32412.zip
*hostent() fixes:
- Make _gethtent() static - _gethtbyname() is dead code (succeeded by _gethtbyname2), kill it - _gethtent() requires setting the address family field of the file-scope variable `host' to that of the desired type of the entry being searched for. Change the behavior to enforce this if it is not AF_UNSPEC, which will now allow stepping through entries, and set it to specific values everywhere else. help & ok millert
Diffstat (limited to 'src/lib/libc/stdlib/getopt.3')
0 files changed, 0 insertions, 0 deletions