sysname
-- the name of the
operating systemsysname
()
returns information on the
operating system on which MuPAD is currently executed.
sysname( <Arch>)
Arch |
- | makes sysname return more specific
information on the architecture |
sysname
()
returns one of the following
strings:
"UNIX"
for UNIX and Linux operating systems,"MSDOS"
for MSDOS operating systems including
MS-Windows,"MACOS"
for Apple Macintosh operating systems.sysname
(Arch)
returns a more specific name of the operating system as a character
string. On some architectures, this information is not available and
the same string is returned as by
sysname(
)
.sysname
is a function of the system kernel.On an MS-DOS or MS-Windows operating system (Microsoft),
sysname
returns the following values:
>> sysname(), sysname(Arch)
"MSDOS", "MSDOS"
On a current Linux operating system such as Linux 2.0
using libc-6.0, sysname
returns the following values:
>> sysname(), sysname(Arch)
"UNIX", "linux"
On a Solaris operating system (SunOS, Sun Microsystems),
sysname
returns the following values:
>> sysname(), sysname(Arch)
"UNIX", "Solaris"
On an Apple Macintosh operating system,
sysname
returns the following values:
>> sysname(), sysname(Arch)
"MACOS", "MACOS"