Previous Page Next Page Contents

sysname -- the name of the operating system

Introduction

sysname() returns information on the operating system on which MuPAD is currently executed.

Call(s)

sysname( <Arch>)

Options

Arch - makes sysname return more specific information on the architecture

Returns

a character string.

Related Functions

system

Details

Example 1

On an MS-DOS or MS-Windows operating system (Microsoft), sysname returns the following values:

>> sysname(), sysname(Arch)
                              "MSDOS", "MSDOS"

Example 2

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"

Example 3

On a Solaris operating system (SunOS, Sun Microsystems), sysname returns the following values:

>> sysname(), sysname(Arch)
                             "UNIX", "Solaris"

Example 4

On an Apple Macintosh operating system, sysname returns the following values:

>> sysname(), sysname(Arch)
                             "MACOS", "MACOS"

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000