sigpending(2) System Calls sigpending(2)NAME
sigpending - examine signals that are blocked and pending
SYNOPSIS
#include <signal.h>
int sigpending(sigset_t *set);
DESCRIPTION
The sigpending() function retrieves those signals that have been sent to the calling process but are being blocked from delivery by the
calling process's signal mask. The signals are stored in the space pointed to by the set argument.
RETURN VALUES
Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
The sigpending() function will fail if:
EFAULT The set argument points to an illegal address.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Async-Signal-Safe |
+-----------------------------+-----------------------------+
SEE ALSO sigaction(2), sigprocmask(2), sigsetops(3C), attributes(5), standards(5)SunOS 5.11 28 Dec 1996 sigpending(2)
Check Out this Related Man Page
SIGPENDING(2) BSD System Calls Manual SIGPENDING(2)NAME
sigpending -- get pending signals
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <signal.h>
int
sigpending(sigset_t *set);
DESCRIPTION
The sigpending() system call returns a mask of the signals pending for delivery to the calling thread or the calling process in the location
indicated by set. Signals may be pending because they are currently masked, or transiently before delivery (although the latter case is not
normally detectable).
RETURN VALUES
The sigpending() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi-
cate the error.
ERRORS
The sigpending() system call will fail if:
[EFAULT] The set argument specified an invalid address.
SEE ALSO sigaction(2), sigprocmask(2), sigsuspend(2), sigsetops(3)STANDARDS
The sigpending() system call is expected to conform to ISO/IEC 9945-1:1990 (``POSIX.1'').
BSD September 6, 2013 BSD
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)