mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Document gethostid(3) and sethostid(3) as obsolete.
This commit is contained in:
parent
4ee83c9466
commit
d50e8f1bce
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
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
|
||||
-------
|
||||
|
||||
|
|
|
@ -311,7 +311,6 @@ int fdatasync(int);
|
|||
int fexecve(int, char* const [], char* const []);
|
||||
long fpathconf(int, int);
|
||||
int getgroups(int, gid_t []);
|
||||
long gethostid(void);
|
||||
|
||||
pid_t getpgrp(void);
|
||||
pid_t getsid(pid_t);
|
||||
|
|
Loading…
Reference in a new issue