Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

tcl_signalmsg(3) [opendarwin man page]

Tcl_SignalId(3) 					      Tcl Library Procedures						   Tcl_SignalId(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_SignalId, Tcl_SignalMsg - Convert signal codes SYNOPSIS
#include <tcl.h> CONST char * Tcl_SignalId(sig) CONST char * Tcl_SignalMsg(sig) ARGUMENTS
int sig (in) A POSIX signal number such as SIGPIPE. _________________________________________________________________ DESCRIPTION
Tcl_SignalId and Tcl_SignalMsg return a string representation of the provided signal number (sig). Tcl_SignalId returns a machine-readable textual identifier such as "SIGPIPE". Tcl_SignalMsg returns a human-readable string such as "bus error". The strings returned by these functions are statically allocated and the caller must not free or modify them. KEYWORDS
signals, signal numbers Tcl 8.3 Tcl_SignalId(3)

Check Out this Related Man Page

sigsetops(3)						     Library Functions Manual						      sigsetops(3)

Name
       sigemptyset, sigfillset, sigaddset, sigdelset, sigismember - manipulate signal sets (POSIX)

Syntax
       #include <signal.h>

       int sigemptyset(set)
       sigset_t *set;

       int sigfillset (set)
       sigset_t *set;

       int sigaddset(set,sig)
       sigset_t *set;
       int sig;

       int sigdelset(set,sig)
       sigset_t *set;
       int sig;

       int sigismember(set,sig)
       sigset_t *set;
       int sig;

Description
       The functions manipulate signal sets used by the other POSIX signal functions

       The function initializes the signal set pointed to by the argument set so that all signals are excluded.

       The function initializes the signal set pointed to by the argument set so that all signals are included.

       The  and functions respectively add and delete the individual signal specified by the value of the argument sig from the signal set pointed
       to by the argument set.

       The function tests whether the signal specified by the value of the argument sig is a member of the set pointed to by the argument set.

Return Values
       Upon successful completion, the function returns a value of 1 if the specified signal is a member of the set.  If it is not a member of the
       set, a value of 0 is returned.

       If the or functions fail a -1 value is returned and errno is set to indicate the reason.

Diagnostics
       The function will fail and the signal mask will remain unchanged if one of the following occur:

       [EINVAL]       The value of the sig argument is not a valid signal number

See Also
       sigprocmask(3), sigaction(3), sigsuspend(3), sigpending(2)

																      sigsetops(3)
Man Page

2 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Shopt -s histappend

What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file. # When the shell exits, append to the history file instead of overwriting it shopt -s histappend (3 Replies)
Discussion started by: cokedude
3 Replies

2. OS X (Apple)

Undeletable file

Greetings, I'm trying to delete a file with a weird name from within Terminal on a Mac. It's a very old file (1992) with null characters in the name: “␀␀Word FinderÂŽ Plus™”. Here are some examples of what I've tried: 12FX009:5 dpontius$ ls ␀␀Word FinderÂŽ Plus™ 12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies