aruu

[MIRROR] Actual replacement for Busybox | suckless
git clone https://git.daat.foo/aruu.git
Log | Files | Refs | README | LICENSE

kmap_posix.c (507B)


      1 /* see LICENSE file for copyright and license details */
      2 #include "../kmap.h"
      3 #include "../util.h"
      4 
      5 /* a system kmap has no console backend for: the layouts are still listed
      6  * and written for xkb, only the console is not set */
      7 #if !(defined(__linux__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__))   \
      8     || defined(ARUU_FORCE_POSIX)
      9 int
     10 kmap_load_console(const struct kmap *k)
     11 {
     12   (void)k;
     13   weprintf("this system's console takes no layout from kmap\n");
     14   return -1;
     15 }
     16 #endif