Plan 9 from Bell Labs’s /usr/web/sources/patch/sorry/eshutdown2/readme

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Adds eshutdown(2) to allow programs to stop event processing before exiting.

There is currently no way for programs using event(2) to stop event processing.
Device files and memory are held by the library.  This prevents programs using
event(2) from returning to console mode cleanly without exiting.

This patch adds eshutdown(2) to provide that function.  Existing programs using
event(2) should not be affected by this change.  I have recompiled and run
clock(1) and tweak(1) for testing, both of which behave unchanged.

Updated to fix style(6) violations.

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].