| Hauptindex | Abschnitt 2 | Optionen |
int gethostname(char *name, size_t len);
int sethostname(const char *name, size_t len);
| EINVAL | len ist negativ, oder bei sethostname ist len größer als die maximal zulässige Größe, oder bei gethostname unter Linux/i386 ist len kleiner als die aktuelle Größe. |
| EPERM | sethostname wurde nicht vom Superuser aufgerufen. |
| EFAULT | name ist eine ungültige Adresse. |
| 22 July 1995 | GETHOSTNAME (2) | Linux 1.3.6 |
| Hauptindex | Abschnitt 2 | Optionen |
Bitte richten Sie Ihre Kommentare zu diesem Handbuch Seite Service, Ben Bullock. Privacy policy.
| “ | This philosophy, in the hands of amateurs, leads to inexplicably mind-numbing botches like the existence of two programs, “head” and “tail,” which print the first part or the last part of a file, depending. Even though their operations are duals of one another, “head” and “tail” are different programs, written by different authors, and take different options! | ” |
| — The Unix Haters' handbook | ||