Logo Search packages:      
Sourcecode: daemon version File versions  Download package

test63.client.c

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

void term(int sig)
{
      fprintf(stderr, "line 2 of 2\n");
      fflush(stderr);
      exit(0);
}

int main()
{
      signal(SIGTERM, term);
      fprintf(stderr, "line 1 of 2\n");
      sleep(100);
      return 0;
}

Generated by  Doxygen 1.6.0   Back to index