Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ suser(K) — OpenDesktop Software Development System 1.0.0d

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     SUSER(K)                  UNIX System V                  SUSER(K)



     Name
          suser - determines if current user is the super-user

     Syntax
          int
          suser()

     Description
          The suser routine determines whether the user associated
          with the currently executing process is the super-user. This
          can be useful, for example, in determining whether special
          device operations (such as disk formatting) are allowed.

     Return Value
          suser returns 0 if the current user is not the super-user
          and 1 if the user is the super-user.

                                                      (printed 7/6/89)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026