| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 10 Jun 2001 11:16:11 +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: | <RgyU6.1172$ac3.3856@newsfeed.slurp.net> |
| Message-ID: | <Pine.SUN.3.91.1010610111550.5638J-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 Sat, 9 Jun 2001, Luiz Rafael Culik Guimaraes wrote: > How to return the current Network name under DJGPP. For win32 i use the > GetComputerName() API , but i need to know also in Dos mode 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |