trimdomain - trim the current domain name from a host name
Lb libutil
The
trimdomain ();
function will only trim the domain name if the passed
fullname
ends with the current domain name and if the length of the resulting host
name does not exceed
hostsize
If the passed
fullname
is actually a
DISPLAY
specification of the form
host . domain : nn [
nn
]
and the domain name is the same as the local domain name,
trimdomain ();
will remove the embedded domain name, copying the screen and display
numbers to the end of the base host name and resulting in
host : nn [. nn
]
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |