delorie.com/archives/browse.cgi | search |
Date: | Sun, 10 Jun 2001 15:17:47 +0300 (IDT) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Luiz Rafael Culik Guimaraes <culik AT nh DOT conex DOT com DOT br> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: NETNAME and DJGPP |
In-Reply-To: | <sgIU6.54$I24.964@newsfeed.slurp.net> |
Message-ID: | <Pine.SUN.3.91.1010610151648.7564A-100000@is> |
MIME-Version: | 1.0 |
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 |
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.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |