2022-02-07 06:35:29 +05:30
|
|
|
// Copyright 2010-2020 Nicholas J. Kain <njkain at gmail dot com>
|
|
|
|
// SPDX-License-Identifier: MIT
|
2010-12-24 20:17:09 +05:30
|
|
|
#ifndef SYS_H_
|
|
|
|
#define SYS_H_
|
|
|
|
|
|
|
|
#include "ndhc-defines.h"
|
|
|
|
|
2014-03-18 12:43:51 +05:30
|
|
|
static inline size_t min_size_t(size_t a, size_t b)
|
|
|
|
{
|
|
|
|
return a < b ? a : b;
|
|
|
|
}
|
|
|
|
|
2017-02-24 19:21:36 +05:30
|
|
|
#define curms() IMPL_curms(__func__)
|
|
|
|
long long IMPL_curms(const char *parent_function);
|
2010-12-24 20:17:09 +05:30
|
|
|
|
2020-10-20 13:53:55 +05:30
|
|
|
void setup_signals_subprocess(void);
|
2014-04-16 06:25:13 +05:30
|
|
|
|
2022-02-07 06:35:29 +05:30
|
|
|
#endif
|
2014-04-16 06:25:13 +05:30
|
|
|
|