Get the domain name of the current host
#include <unistd.h>
int getdomainname( char * name,
size_t namelen );
BlackBerry 10.0.0
The getdomainname() function gets the standard domain name for the current processor and stores it in the buffer that name points to. The name is null-terminated.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |