Help for this page

Select Code to Download


  1. or download this
           The siginfo_t parameter to sa_sigaction is a struct with the fo
    +llowing elements
    
                  siginfo_t {
    ...
                      int      si_band;   /* Band event */
                      int      si_fd;     /* File descriptor */
                  }
    
  2. or download this
    use POSIX;
    sub hup {
        print "hup(@_)\n";
    ...
    sigaction(SIGHUP, $newaction);
    print "I am $$\n";
    kill HUP, $$;