add missing of android: int getdomainname(char *name, size_t namelen)