Not Available these Signal nos on Linux

Not Available these Signal nos on Linux

Post by Sudhak » Thu, 21 Mar 2002 14:27:29


The following macros are there on AIX  but not on Linux.If we have
on Linux pls  suggest me how to use(say path) or tell me alternative?

#define SIGDANGER 33    /* system crash imminent; free up some page
space */
#define SIGSAK    63    /* secure attention key */
#define SIGSOUND  62    /* sound control has completed */
#define SIGKAP    60    /* keep alive poll from native keyboard */
#define SIGGRANT  SIGKAP /* monitor mode granted */
#define SIGRETRACT 61   /* monitor mode should be relinguished */
#define  F_CLOSEM       10/**on AIX /usr/include/fcntl.h****/
#define _D_NAME_MAX 255

Thnaks in Advance
Sudhakar Reddy.N


1. Signal handlers are not reset after signal delivery

The man page for signal says

        Unlike on BSD systems, signals under Linux  are  reset  to
        their  default behavior  when  raised.  However, if you
        include <bsd/signal.h> instead of <signal.h> then signal is
        redefined as __bsd_signal and signal has the BSD

However I tried the following simple program and found that if I install
a signal handler once, it remains installed over multiple deliveries of
the same signal. i.e. the signal does not get  reset to its default
behaviour when raised.

#include <stdio.h>
#include <signal.h>

void  handler( int x) {

        printf( "Got the signal\n");

main() {

        char c;
        signal(28, handler);


        printf( "Woke up\n");

and the I did 'kill -28 <pid>' twice. Both the times I got the
message from signal handler.

Can anyone help explain this contradiction or am I messing up
somewhere in the concepts?


2. DPMSSet: Invalid argument

3. faster NOS: NetWare or Linux?

4. Caching Only DNS / BIND 9

5. NOS/NET/Wampes for linux

6. dosemu and dpmi?

7. linux NOS

8. HELP with ipfw and allowing external FTP

9. Does Linux IPIP tunnelling work with Cisco NOS tunnels?

10. have win+linux, linux not available anymore =(

11. Linux signal() semantics - can BSD signal() be emulated?

12. SBC with Power fail signal impending signal, to allow Linux to shutdown properly

13. signal(SIGCHLD,SIG_IGN) function is not compatible with LINUX,SCO UNIX ...