ndhc/sys.h
Nicholas J. Kain 1732bccccc Relicense as MIT.
It's a lot more common than BSD 2-clause it is both compatible
and nearly identical in effect.
2022-02-06 20:05:29 -05:00

20 lines
374 B
C

// Copyright 2010-2020 Nicholas J. Kain <njkain at gmail dot com>
// SPDX-License-Identifier: MIT
#ifndef SYS_H_
#define SYS_H_
#include "ndhc-defines.h"
static inline size_t min_size_t(size_t a, size_t b)
{
return a < b ? a : b;
}
#define curms() IMPL_curms(__func__)
long long IMPL_curms(const char *parent_function);
void setup_signals_subprocess(void);
#endif