/usr/include/measurement_kit/portable/stdlib.h is in libmeasurement-kit-dev 0.7.1-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /*
* Public domain.
*/
#ifndef MEASUREMENT_KIT_PORTABLE_STDLIB_H
#define MEASUREMENT_KIT_PORTABLE_STDLIB_H
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
/* strtonum() function is not defined under many C libraries but is defined
e.g. by OpenBSD. Therefore we have our own wrapper that will call the sys
strtonum() if available and otherwise use a replacement. */
long long mkp_strtonum(const char *numstr,
long long minval,
long long maxval,
const char **errstrp);
#ifdef __cplusplus
}
#endif
#endif
|