nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

dnsdoe.c (371B)


      1 #include "dnsdoe.h"
      2 
      3 #include "substdio.h"
      4 #include "subfd.h"
      5 #include "exit.h"
      6 #include "dns.h"
      7 
      8 void dnsdoe(r)
      9 int r;
     10 {
     11  switch (r)
     12   {
     13    case DNS_HARD: substdio_putsflush(subfderr,"hard error\n"); _exit(100);
     14    case DNS_SOFT: substdio_putsflush(subfderr,"soft error\n"); _exit(111);
     15    case DNS_MEM: substdio_putsflush(subfderr,"out of memory\n"); _exit(111);
     16   }
     17 }