## procsignal procsignal |

## Synopsis

    #include <glibtop/procsignal.h>

    #define             GLIBTOP_PROC_SIGNAL_SIGNAL
    #define             GLIBTOP_PROC_SIGNAL_BLOCKED
    #define             GLIBTOP_PROC_SIGNAL_SIGIGNORE
    #define             GLIBTOP_PROC_SIGNAL_SIGCATCH
    #define             GLIBTOP_MAX_PROC_SIGNAL
                        glibtop_proc_signal;
    void                glibtop_get_proc_signal             (glibtop_proc_signal *buf,
                                                             pid_t pid);
    #define             glibtop_get_proc_signal_r
    void                glibtop_get_proc_signal_l           (glibtop *server,
                                                             glibtop_proc_signal *buf,
                                                             pid_t pid);
    void                glibtop_get_proc_signal_p           (glibtop *server,
                                                             glibtop_proc_signal *buf,
                                                             pid_t pid);
    void                glibtop_get_proc_signal_s           (glibtop *server,
                                                             glibtop_proc_signal *buf,
                                                             pid_t pid);

## Description

## Details

### GLIBTOP_PROC_SIGNAL_SIGNAL

    #define GLIBTOP_PROC_SIGNAL_SIGNAL 0

### GLIBTOP_PROC_SIGNAL_BLOCKED

    #define GLIBTOP_PROC_SIGNAL_BLOCKED 1

### GLIBTOP_PROC_SIGNAL_SIGIGNORE

    #define GLIBTOP_PROC_SIGNAL_SIGIGNORE 2

### GLIBTOP_PROC_SIGNAL_SIGCATCH

    #define GLIBTOP_PROC_SIGNAL_SIGCATCH 3

### GLIBTOP_MAX_PROC_SIGNAL

    #define GLIBTOP_MAX_PROC_SIGNAL		4

### glibtop_proc_signal

    typedef struct {
    	guint64 flags;
    	guint64 signal [2];		/* mask of pending signals */
    	guint64 blocked [2];		/* mask of blocked signals */
    	guint64 sigignore [2];		/* mask of ignored signals */
    	guint64 sigcatch [2];		/* mask of caught  signals */
    } glibtop_proc_signal;

### glibtop_get_proc_signal ()

    void                glibtop_get_proc_signal             (glibtop_proc_signal *buf,
                                                             pid_t pid);

`buf` : |
`pid` : |

### glibtop_get_proc_signal_r

    #define             glibtop_get_proc_signal_r

### glibtop_get_proc_signal_l ()

    void                glibtop_get_proc_signal_l           (glibtop *server,
                                                             glibtop_proc_signal *buf,
                                                             pid_t pid);

`server` : |
`buf` : |
`pid` : |

### glibtop_get_proc_signal_p ()

    void                glibtop_get_proc_signal_p           (glibtop *server,
                                                             glibtop_proc_signal *buf,
                                                             pid_t pid);

`server` : |
`buf` : |
`pid` : |

### glibtop_get_proc_signal_s ()

    void                glibtop_get_proc_signal_s           (glibtop *server,
                                                             glibtop_proc_signal *buf,
                                                             pid_t pid);

`server` : |
`buf` : |
`pid` : |