Hello...
I have a problem getting the hostname from the HOSTNAME var...
#include <stdlib.h>
...
char* host = getenv("HOSTNAME");
returns always NULL... why? if I do 'echo $HOSTNAME' it is visible, but inside 
my C program returns NULL... what is wrong? is it a bug?
Thanx...