diff options
author | jaredy <> | 2005-07-23 04:15:49 +0000 |
---|---|---|
committer | jaredy <> | 2005-07-23 04:15:49 +0000 |
commit | 2c2fe16031333976a7e95d7e0caf5fc7f8c32412 (patch) | |
tree | ebbed1ec9881199a73693c582c1f3c304d4f5e42 /src/lib/libc/stdlib/getopt.3 | |
parent | 3553ae132550867ea92f1c819130713a94c9aa57 (diff) | |
download | openbsd-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