Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 718 Bytes

GETSEM.2.adoc

File metadata and controls

42 lines (31 loc) · 718 Bytes

GETSEM(2) Manual Page

NAME

GETSEM - allocate a new semaphore.

SYNOPSIS

Input
Call

jsr GETSEM

Output
  • C=0

    • AC - error code E_OK

    • XR - new semaphore

  • C=1

    • AC - error code

Note
YR is modified

DESCRIPTION

Get a free application semaphore. returns semaphore number in x

RETURN CODES

Error return codes are given when at return, C=1.

E_NOSEM

no free semaphore available

AUTHOR

Written by André Fachat.

REPORTING BUGS