Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ucpnice(1)

ucpsig(2)

ucprelse(2)

ucppri(2)

ucpinq(2)

ucpset(2)



  ucpclr(2)                           CLIX                           ucpclr(2)



  NAME

    ucpclr - Clear process User Controlled Priority (UCP)

  LIBRARY

    Intergraph XIO Library (libix.a)

  SYNOPSIS

    int ucpclr(
      int pid );

  PARAMETERS

    pid   Represents a process identifier.

  DESCRIPTION

    The ucpclr() function clears the User Controlled Priority (UCP) attribute
    of the process with process ID pid.  If pid has a value of 0, the calling
    process is assumed.  If no UCP attribute is set, the call is ignored.
    This has no effect on the signal mask, which may have been set with
    ucpsig().

  RETURN VALUES

    Upon successful completion, a value of 0 is returned.  Otherwise, a value
    of -1 is returned and errno is set to indicate the error.

  ERRORS

    The ucpclr() function fails if the following is true:

    [ESRCH]   Process ID pid does not exist.

  RELATED INFORMATION

    Commands:  ucpnice(1)

    Functions:  ucpsig(2), ucprelse(2), ucppri(2), ucpinq(2), ucpset(2)













  2/94 - Intergraph Corporation                                              1




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