Document gethostid(3) and sethostid(3) as obsolete.
This commit is contained in:
parent
4ee83c9466
commit
d50e8f1bce
|
@ -93,6 +93,15 @@ named host, but don't care much about the low-level details. If you use these
|
||||||
modern networking interfaces, then your program can use without modification
|
modern networking interfaces, then your program can use without modification
|
||||||
IPv4, IPv6, or whatever new protocol is used in the future.
|
IPv4, IPv6, or whatever new protocol is used in the future.
|
||||||
|
|
||||||
|
gethostid, sethostid
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
These functions are built on the assumption that 32-bits are enough such that
|
||||||
|
each computer has an unique identity. It isn't. These functions are usually
|
||||||
|
implemented by using the IPv4 address, which already creates conflicts because
|
||||||
|
multiple systems can have the same LAN address. The functions are silly and any
|
||||||
|
use of them probably is silly too.
|
||||||
|
|
||||||
getpgrp
|
getpgrp
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
|
|
@ -311,7 +311,6 @@ int fdatasync(int);
|
||||||
int fexecve(int, char* const [], char* const []);
|
int fexecve(int, char* const [], char* const []);
|
||||||
long fpathconf(int, int);
|
long fpathconf(int, int);
|
||||||
int getgroups(int, gid_t []);
|
int getgroups(int, gid_t []);
|
||||||
long gethostid(void);
|
|
||||||
|
|
||||||
pid_t getpgrp(void);
|
pid_t getpgrp(void);
|
||||||
pid_t getsid(pid_t);
|
pid_t getsid(pid_t);
|
||||||
|
|
Loading…
Reference in New Issue