SIGPENDING(2) System Calls Manual SIGPENDING(2)NAME
sigpending - report pending signals
SYNOPSIS
#include <signal.h>
int sigpending(sigset_t *set)
DESCRIPTION
Sigpending() returns the set of signals that are waiting to be delivered. They are currently blocked by the signal mask.
SEE ALSO sigaction(2), sigprocmask(2), sigsuspend(2), sigset(3).
DIAGNOSTICS
Returns 0 on success and -1 on error. The only possible error code is EFAULT for a bad set address.
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
SIGPENDING(2)
Check Out this Related Man Page
SIGPENDING(2) Linux Programmer's Manual SIGPENDING(2)NAME
sigpending - examine pending signals
SYNOPSIS
#include <signal.h>
int sigpending(sigset_t *set);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
sigpending(): _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE
DESCRIPTION
sigpending() returns the set of signals that are pending for delivery to the calling thread (i.e., the signals which have been raised while
blocked). The mask of pending signals is returned in set.
RETURN VALUE
sigpending() returns 0 on success and -1 on error.
ERRORS
EFAULT set points to memory which is not a valid part of the process address space.
CONFORMING TO
POSIX.1-2001.
NOTES
See sigsetops(3) for details on manipulating signal sets.
The set of signals that is pending for a thread is the union of the set of signals that is pending for that thread and the set of signals
that is pending for the process as a whole; see signal(7).
A child created via fork(2) initially has an empty pending signal set; the pending signal set is preserved across an execve(2).
BUGS
In versions of glibc up to and including 2.2.1, there is a bug in the wrapper function for sigpending() which means that information about
pending real-time signals is not correctly returned.
SEE ALSO kill(2), sigaction(2), signal(2), sigprocmask(2), sigsuspend(2), sigsetops(3), signal(7)COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2008-10-04 SIGPENDING(2)
Hi all,
I need some urgent help.
we are using Dynix/ptx V4.5 on i386, have several processes and instances are running on the box round the clock.we increased the processes recently.
We have coded to handle the signals in our programs.
Recently, we noticed most of our processes are... (2 Replies)
signal in process communication:
I 'm a example in sun_unix that signal in process communication
It's here down but I only have freebsd in my machine.
how can i do the same in freebsd
eg:
#include <stdio.h>
#include <signal.h>
#include <unistd.h>
int
main( void ){
void... (2 Replies)
Hello All,
I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver.
Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
Hello All,
I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver.
Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
i want to set limits in /etc/security/limits.conf.My os is rhel 5.2.
It was giving continuous messages in in /var/log/secure like :
continuously.
I have changed values of priority and nice to "0" from unlimited and messages are not comming. But i want to know what is the ideal/maximum... (3 Replies)
Hi im a complete noob to shell commands but here is my problem i have a dedicated server i7 with 24 gig ram i have whm/cpanel on it now ive added a minecraft system to root but i cannot set the server to more than 512mb memory i was told its because the memory is being blocked and was told to... (7 Replies)
Hi all !
I'm new in this site, so sorry if this question is into wrong place.
How can I limit cpu/core and memory usage by user?
System: RedHat Ent. Linux. 6.4
Tks, (4 Replies)