runit

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

strerr_sys.c (218B)


      1 /* Public domain. */
      2 
      3 #include "error.h"
      4 #include "strerr.h"
      5 
      6 struct strerr strerr_sys;
      7 
      8 void strerr_sysinit(void)
      9 {
     10   strerr_sys.who = 0;
     11   strerr_sys.x = error_str(errno);
     12   strerr_sys.y = "";
     13   strerr_sys.z = "";
     14 }