RTEMS Logo

RTEMS 4.6.1 On-Line Library


Signal Manager sigwait - Synchronously Accept a Signal

PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

2.4.14: sigwait - Synchronously Accept a Signal

CALLING SEQUENCE:

#include <signal.h>

int sigwait(
  const sigset_t *set,
  int            *sig
);

STATUS CODES:

EINVAL
Invalid argument passed.
EINTR
Signal interrupted this function.

DESCRIPTION:

This function selects a pending signal based on the set specified in set, atomically clears it from the set of pending signals, and returns the signal number for that signal in sig.

NOTES:

NONE


PREV UP NEXT Bookshelf RTEMS POSIX API User's Guide

Copyright © 1988-2004 OAR Corporation