mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-08 11:08:53 +00:00
23 lines
350 B
C
23 lines
350 B
C
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <term.h>
|
|
|
|
size_t C_MB_CUR_MAX() { return MB_CUR_MAX; }
|
|
|
|
int has_cur_term() { return cur_term != NULL; }
|
|
|
|
uint64_t C_ST_LOCAL() {
|
|
#if defined(ST_LOCAL)
|
|
return ST_LOCAL;
|
|
#else
|
|
return 0;
|
|
#endif
|
|
}
|
|
|
|
uint64_t C_MNT_LOCAL() {
|
|
#if defined(MNT_LOCAL)
|
|
return MNT_LOCAL;
|
|
#else
|
|
return 0;
|
|
#endif
|
|
}
|