Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sigpending(2) [ultrix man page]

sigpending(2)							System Calls Manual						     sigpending(2)

Name
       sigpending - examine pending signals

Syntax
       #include <signal.h>

       sigpending(set)
       sigset_t *set;

Description
       The  system call stores the set of signals that is blocked from delivery and pending for the calling process in the space pointed to by the
       argument set.

       The set argument is manipulated by using the functions.

Return Values
       A zero (0) return value indicates that the call succeeded.  A -1 return value indicates an error occurred, and errno is set to indicate the
       reason.

Diagnostics
       The system call fails if the following occurs:

       [EFAULT]       The set argument points to memory that is not a valid part of the process address space.

See Also
	sigprocmask(3), sigsetops(3)

																     sigpending(2)

Check Out this Related Man Page

sigpending(2)							System Calls Manual						     sigpending(2)

NAME
sigpending - Examines pending signals SYNOPSIS
#include <signal.h> int sigpending ( sigset_t *set ); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: sigpending(): XSH4.2 Refer to the standards(5) reference page for more information about industry standards and associated tags. PARAMETERS
Points to a sigset_t structure. DESCRIPTION
The sigpending() function stores the set of signals that are blocked from delivery and pending to the calling process in the object pointed to by the set parameter. RETURN VALUES
Upon successful completion, the sigpending() function returns a value of 0 (zero). Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS
[Tru64 UNIX] If a bad mask parameter is passed, the calling process receives a SIGSEGV signal. RELATED INFORMATION
Functions: sigemptyset(3), sigprocmask(2) Files: signal(4) Standards: standards(5) delim off sigpending(2)
Man Page

7 More Discussions You Might Find Interesting

1. Programming

signals - SIGTERM

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)
Discussion started by: reddyb
2 Replies

2. Programming

signal in process communication

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)
Discussion started by: a9711
2 Replies

3. Linux

kernel functions issue!

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)
Discussion started by: vineykr
0 Replies

4. UNIX for Advanced & Expert Users

kernel functions issue!

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)
Discussion started by: vineykr
0 Replies

5. Red Hat

max/ideal value of items in limits.conf in rhel5?

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)
Discussion started by: pankajd
3 Replies

6. Linux

ulimit -n

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)
Discussion started by: gazzac
7 Replies

7. Red Hat

Cpu, memory - limit by user

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)
Discussion started by: Tiago
4 Replies