Does anyone know a function to get the hostname of the linux server? I don\'t really want to have to include any headers or compile other libraries, hoping there is a function b
Some useful information can be found among environment variables. You will need to include (unfortunately) stdlib.h and you will obtain some useful functions