summaryrefslogtreecommitdiffstats
path: root/termbaud_nontrivial.h
blob: f84175bf977779619d7b8da3ae3f39d44b86f5c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef TERMBAUD_H
#define TERMBAUD_H

#include <termios.h>
#include <inttypes.h>

typedef uint64_t baud_t;

extern speed_t cfencspeed(baud_t);
extern baud_t cfdecspeed(speed_t x);

#endif /* TERMBAUD_H */