Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 812 Bytes

FRESEM.2.adoc

File metadata and controls

43 lines (30 loc) · 812 Bytes

FRESEM(2) Manual Page

NAME

FRESEM - free a semaphore.

SYNOPSIS

Input
  • XR - semaphore number

Call

jsr FRESEM

Output
  • AC - error code (or E_OK)

  • C - set if error code not E_OK

Note
XR and YR are modified.

DESCRIPTION

Frees a semaphore.

Note
semaphore MUST NOT be locked or held when being freed.
Note
negative semaphore numbers (i.e. system semaphores) cannot be freed.

RETURN CODES

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

E_NOSEM

no valid semaphore number

AUTHOR

Written by André Fachat.

REPORTING BUGS