Skip to content

Commit

Permalink
sigsuspend01: Covert docs to docparse
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Vorel <pvorel@suse.cz>
  • Loading branch information
pevik committed Jul 9, 2024
1 parent 7d5c6bf commit 74d3935
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions testcases/kernel/syscalls/sigsuspend/sigsuspend01.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) International Business Machines Corp., 2001
* Copyright (c) International Business Machines Corp., 2001
* Copyright (c) Linux Test Project, 2003-2024
*/

/*\
* [Description]
*
* Verify the basic sigsuspend(2) syscall functionality:
*
* Description:
* Verify the basic function of sigsuspend():
* 1) sigsuspend() can replace process's current signal mask
* by the specified signal mask and suspend the process
* execution until the delivery of a signal.
* 2) sigsuspend() should return after the execution of signal
* handler and restore the previous signal mask.
* - sigsuspend(2) can replace process's current signal mask by the specified
* signal mask and suspend the process execution until the delivery of a
* signal.
* - sigsuspend(2) should return after the execution of signal handler and
* restore the previous signal mask.
*/

#include <errno.h>
Expand Down

0 comments on commit 74d3935

Please sign in to comment.