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... _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"