Hi,

I looked a bit further into my problem and think I am only confused.
"Not working" meant that I receive a "implicitly decleared" compile error.
(No support board, so keeping the rest of it out of here...)

Due to the extern, I thought the function might have been moved somewhere else.
Now I saw that getenv() and setenv() are externs in stdlib.h as well and for me
getenv() works but setenv() doesn't.

Thus I think it's more a user problem.
So if you get gethostname() working by including unistd.h, feel free
to close. :)
Until I didn't find out what's going on, I do not want to do it
because I have no clue
if it the right thing to do.

Regards



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to