Difference between revisions of "NETNAME()"

From Lianjapedia
Jump to: navigation, search
 
(Description)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return system information
 
Function to return system information
 
  
 
==Syntax==
 
==Syntax==
 
NETNAME()
 
NETNAME()
 
  
 
==See Also==
 
==See Also==
[[GETENV()]], [[GETGID()]], [[GETPID()]], [[GETREMOTEADDR()]], [[GETREMOTEHOST()]], [[GETREMOTEUSER()]], [[GETUID()]], [[OS()]], [[VERSION()]]
+
[[DRIVETYPE()]], [[GETENV()]], [[GETGID()]], [[GETPID()]], [[GETREMOTEADDR()]], [[GETREMOTEHOST()]], [[GETREMOTEUSER()]], [[GETUID()]], [[LOCALE()]], [[OS()]], [[SYS()]], [[VERSION()]]
 
+
  
 
==Description==
 
==Description==
The NETNAME() function returns the name of the machine.  On UNIX/Linux systems, full 'uname –a' information is returned.
+
The NETNAME() function returns system information as a character string.
 
+
  
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
 
? netname()
 
? netname()
system=SCO_SV nodename=mynode version=3.2.2 machine=i386
+
system=Win32s on Windows NT nodename=unknown version=6.1 machine=MY-PC
 
</code>
 
</code>
  
 
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Disk and File Utilities]]
 
[[Category:Disk and File Utilities Functions]]
 
[[Category:Environment]]
 
 
[[Category:Environment Functions]]
 
[[Category:Environment Functions]]

Latest revision as of 05:02, 11 September 2023

Purpose

Function to return system information

Syntax

NETNAME()

See Also

DRIVETYPE(), GETENV(), GETGID(), GETPID(), GETREMOTEADDR(), GETREMOTEHOST(), GETREMOTEUSER(), GETUID(), LOCALE(), OS(), SYS(), VERSION()

Description

The NETNAME() function returns system information as a character string.

Example

? netname()
system=Win32s on Windows NT nodename=unknown version=6.1 machine=MY-PC