Difference between revisions of "NETNAME()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
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()]]
 
[[GETENV()]], [[GETGID()]], [[GETPID()]], [[GETREMOTEADDR()]], [[GETREMOTEHOST()]], [[GETREMOTEUSER()]], [[GETUID()]], [[OS()]], [[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 the name of the machine.
 
+
  
 
==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]]

Revision as of 10:56, 10 February 2012

Purpose

Function to return system information

Syntax

NETNAME()

See Also

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

Description

The NETNAME() function returns the name of the machine.

Example

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