I came across in the sigemptyset() posix system call and I also checked out its meaning.
Every place where I looked say:
What does exlclude mean ?
Thank you in advance
I have a command called
cd $HDRROOT/release/tools/cfg
My query is what it means?
tHat is.... $HDRROOT part is not clear.
If I put this command it says path not found....
I doubt that $HDRROOT is trying to mean smething I am not clear of.
PL help......... (4 Replies)
I found a file in my base folder width the name replace.sh and width the text string.
sed -i "s/$1/$2/g" `grep -ir $1 ./*|grep -v '.svn'|cut -d: -f1`
Wat does it mean and what does it do? (1 Reply)
Can you please tell me what this means?
use grep to find from the file myfile.txt all lines containing the sequence tt but not more 2 ts?
I have no idea. (2 Replies)
Hi,
I have seen in some ksh script, that we are executing shell scripts inside other shell script as
. variable.sh
What is . here? Their is space between . and variabloe. And why we are not executing it like ./variable.sh? I know that . signifies current directory , but what its... (2 Replies)
HI
what does the $(NF) means.
here i want to understand the working.
what i know is that in awk NF argument will tell number of column in a file
i have below file
alpha
a
beta
b
if i use command cat kv | paste - - | awk '{print $1," "$2 "------>"$(NF)}'
i get the o/p as
alpha ... (3 Replies)
Discussion started by: scriptor
3 Replies
LEARN ABOUT SUNOS
sigdelset
sigsetops(3C) Standard C Library Functions sigsetops(3C)NAME
sigsetops, sigemptyset, sigfillset, sigaddset, sigdelset, sigismember - manipulate sets of signals
SYNOPSIS
#include <signal.h>
int sigemptyset(sigset_t *set);
int sigfillset(sigset_t *set);
int sigaddset(sigset_t *set, int signo);
int sigdelset(sigset_t *set, int signo);
int sigismember(sigset_t *set, int signo);
DESCRIPTION
These functions manipulate sigset_t data types, representing the set of signals supported by the implementation.
The sigemptyset() function initializes the set pointed to by set to exclude all signals defined by the system.
The sigfillset() function initializes the set pointed to by set to include all signals defined by the system.
The sigaddset() function adds the individual signal specified by the value of signo to the set pointed to by set.
The sigdelset() function deletes the individual signal specified by the value of signo from the set pointed to by set.
The sigismember() function checks whether the signal specified by the value of signo is a member of the set pointed to by set.
Any object of type sigset_t must be initialized by applying either sigemptyset() or sigfillset() before applying any other operation.
RETURN VALUES
Upon successful completion, the sigismember() function returns 1 if the specified signal is a member of the specified set, or 0 if it is
not.
Upon successful completion, the other functions return 0. Otherwise -1 is returned and errno is set to indicate the error.
ERRORS
The sigaddset(), sigdelset(), and sigismember() functions will fail if:
EINVAL The value of the signo argument is not a valid signal number.
The sigfillset() function will fail if:
EFAULT The set argument specifies an invalid 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), sigpending(2), sigprocmask(2), sigsuspend(2), signal.h(3HEAD), attributes(5), standards(5)SunOS 5.10 19 Dec 2003 sigsetops(3C)