Artifact 4d4249bcab22324987d1b3b432ad7f55500a512d8c39572f9817d42ce29a5779:
- File doc/markdown/GetHostName.md — part of check-in [f0995c8b62] at 2026-09-18 21:16:22 on branch tip-700 — - 4 new conversions - make sure we have a space between a .ccmd and a .cargs markdown span - escape "[" and "]" properly so it is preserved as literal character - even more ugly code to handle the TIP markers which may go across paragraphs and be in other places than anticipated up to now (user: Torsten, size: 685) [annotate] [blame] [check-ins using]
CommandName: Tcl_GetHostName ManualSection: 3 Version: 8.3 TclPart: Tcl TclDescription: Tcl Library Procedures Keywords:
- hostname Copyright:
- Copyright (c) 1998-2000 Scriptics Corporation. ---
Name
Tcl_GetHostName - get the name of the local host
Synopsis
::: {.synopsis} ::: #include <tcl.h> [const char *]{.ret} [Tcl_GetHostName]{.ccmd} []{.cargs} :::
Description
Tcl_GetHostName is a utility procedure used by some of the Tcl commands. It returns a pointer to a string containing the name for the current machine, or an empty string if the name cannot be determined. The string is statically allocated, and the caller must not modify of free it.