| Main index | Section 3 | 日本語 | Options |
#include <unistd.h>
The setdomainname() function sets the NIS domain name of the host machine to be name, which has length namelen. This call is restricted to the super-user and is normally used only when the system is bootstrapped.
| [EFAULT] | |
| The name or namelen argument gave an invalid address. | |
| [EPERM] | |
| The caller tried to set the hostname and was not the super-user. | |
| GETDOMAINNAME (3) | May 6, 1994 |
| Main index | Section 3 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology. | ” |
| — The Unix Haters' handbook | ||