47 #if !(defined(_WIN32) || defined(_WIN32_WCE))
57 #if !(defined(_WIN32) || defined(_WIN32_WCE))
60 char host[4096], path[16384];
62 gethostname(host, 1024);
65 E_INFO(
"Host: '%s'\n", host);
66 if (getcwd(path,
sizeof(path)) == NULL)
69 E_INFO(
"Directory: '%s'\n", path);
73 E_INFO(
"%s Compiled on: %s, AT: %s\n\n", appl_name, __DATE__,
#define E_INFO
Print logging information to standard error stream.
Implementation of logging routines.
SPHINXBASE_EXPORT void print_appl_info(char *appl_name)
This function prints the hostname, the directory, compile time and date .
Print hostname, directory name, compile time and date.
#define E_ERROR_SYSTEM
Print error text; Call perror("");.