## tests/er/test_er.c

/* [<][>][^][v][top][bottom][index][help] */

## FUNCTIONS

This source file includes following functions.

1. main

       1 #include <erroutines.h>
       2 #include "bitmask.h"
       3
       4 /*-----------------------------------------------------------------------*/
       5
       6 void main (int argc, char **argv)
         /* [<][>][^][v][top][bottom][index][help] */
       7 {
       8 er_path_t erlogstr;
       9
      10   /* this is to set the program name in global variable used in error reporting */
      11   ER_init(argc, argv);
      12
      13   erlogstr.fdes = stderr;
      14   erlogstr.asp  = MA_new(MA_END);
      15   erlogstr.sev  = ER_SEV_D;
      16   erlogstr.mode = ER_M_SEVCHAR | ER_M_TEXTLONG;
      17
      18   ER_setpath(& erlogstr);
      19
      20   ER_perror(FAC_ER, ER_TOOSTU);
      21
      22   ER_perror(FAC_IP, ER_TOOLAT, time(NULL));
      23
      24   ER_dbg_eq(FAC_ER, MA_new(MA_END), "%u", time(NULL)  );
      25   ER_dbg_va(FAC_ER, MA_new(MA_END), "burumburum %d %d %d",
      26             getpid(), geteuid(), getuid() );
      27
      28
      29 }
      30

/* [<][>][^][v][top][bottom][index][help] */