summaryrefslogtreecommitdiff
path: root/src/libstddjb/sig_pause.c
blob: 7de8ff5cb7024607e7bc6fb840c4ba63d5e8b68c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <signal.h>
#include <skalibs/sig.h>

void sig_pause (void)
{
  sigset_t ss ;
  sigemptyset(&ss) ;
  sigsuspend(&ss) ;
}