Date: Sun, 10 Jun 2001 15:17:47 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Luiz Rafael Culik Guimaraes cc: djgpp AT delorie DOT com Subject: Re: NETNAME and DJGPP In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, 10 Jun 2001, Luiz Rafael Culik Guimaraes wrote: > Dear friend > > > > The DJGPP library includes a function `gethostname' which will return > > the machine's network name if network software is installed. > > `gethostname' is available on many Unix and GNU/Linux systems as well. > > Thanks for the help. > Btw, can you provide an small smaple of use of the 'gethostname' function There's an example in the library reference manual, where `gethostname' is described. From the DOS prompt, type "info libc alpha gethostname" and read there.