Air Quality Monitor
Portable C application for collecting, storing, and analyzing air quality sensor readings
Loading...
Searching...
No Matches
aqm_platform.h
1
#ifndef AQM_PLATFORM_H
2
#define AQM_PLATFORM_H
3
4
#include <stdio.h>
5
6
#ifdef _WIN32
7
#define AQM_PATH_SEP "\\"
8
#else
9
#define AQM_PATH_SEP "/"
10
#include <sys/stat.h>
11
#include <sys/types.h>
12
#endif
13
21
int
aqm_mkdir_p(
const
char
*path);
22
24
void
aqm_sleep_seconds(
unsigned
seconds);
25
31
void
aqm_flush_stdin(
void
);
32
37
void
aqm_trim_crlf(
char
*s);
38
51
int
aqm_parse_int(
const
char
*input,
int
*out);
52
65
int
aqm_parse_float(
const
char
*input,
float
*out);
66
67
#endif
include
core
aqm_platform.h
Generated by
1.9.8