common.h - system76-tools - collection of utilities for system76 laptops
 (HTM) git clone https://git.parazyd.org/system76-tools
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       common.h (237B)
       ---
            1 #ifndef __COMMON_H__
            2 #define __COMMON_H__
            3 
            4 #define MIN(a, b) ((a) < (b) ? (a) : (b))
            5 
            6 void die(const char *fmt, ...);
            7 int write_oneshot_str(const char *path, const char *text);
            8 int write_oneshot_int(const char *path, int value);
            9 
           10 #endif