sigaction function



The sigaction struct as below:

struct sigaction {
void (*sa_handler)(int);
void (*sa_sigaction)(int, siginfo_t *, void *);
sigset_t sa_mask;
int sa_flags;
void (*sa_restorer)(void);
};

Is strange to me. why are the members in parenthesis along with types
in parenthesis.
.



Relevant Pages

  • Re: sigaction function
    ... void; ... why are the members in parenthesis along with types ...
    (comp.unix.programmer)
  • Re: sigaction function
    ... void; ... Is strange to me. ... why are the members in parenthesis along with types ...
    (comp.unix.programmer)
  • Re: sigaction function
    ... void; ... Is strange to me. ... why are the members in parenthesis along with types ...
    (comp.unix.programmer)
  • Re: Pointer to an array
    ... parenthesis is even legal! ... function whose return type is void. ... If the parens don't enclose anything, ... If the parens don't enclose anything then is not a parenthesized ...
    (comp.lang.c)
  • Re: Pointer to an array
    ... parenthesis is even legal! ... whose return type is void. ... It is an lvalue, a function ... designator, or a void expression. ...
    (comp.lang.c)