]> Kevux Git Server - fll/commit
Feature: Add missing signal functions f_signal_action(), f_signal_pause(), and f_sign...
authorKevin Day <thekevinday@gmail.com>
Wed, 20 Jul 2022 03:19:51 +0000 (22:19 -0500)
committerKevin Day <thekevinday@gmail.com>
Wed, 20 Jul 2022 03:19:51 +0000 (22:19 -0500)
commitf85c1874594a92caed396cf91603072d2951b21b
treee1e59fbd124548933b65602036db86a914a730c2
parent7fa011cd0ef520f3b160d43ff2d2101d4e831233
Feature: Add missing signal functions f_signal_action(), f_signal_pause(), and f_signal_suspend().

The f_signal_pause() just calls pause() and returns F_none.
The return value of pause() is meaningless if I am understanding the man pages correctly.
It should always return -1 and then sets errno despite this not being an actual error.
14 files changed:
level_0/f_signal/c/signal.c
level_0/f_signal/c/signal.h
level_0/f_signal/data/build/settings-mocks
level_0/f_signal/data/build/settings-tests
level_0/f_signal/tests/unit/c/mock-signal.c
level_0/f_signal/tests/unit/c/mock-signal.h
level_0/f_signal/tests/unit/c/test-signal-action.c [new file with mode: 0644]
level_0/f_signal/tests/unit/c/test-signal-action.h [new file with mode: 0644]
level_0/f_signal/tests/unit/c/test-signal-pause.c [new file with mode: 0644]
level_0/f_signal/tests/unit/c/test-signal-pause.h [new file with mode: 0644]
level_0/f_signal/tests/unit/c/test-signal-suspend.c [new file with mode: 0644]
level_0/f_signal/tests/unit/c/test-signal-suspend.h [new file with mode: 0644]
level_0/f_signal/tests/unit/c/test-signal.c
level_0/f_signal/tests/unit/c/test-signal.h