mirror of
https://github.com/jart/cosmopolitan.git
synced 2024-05-17 02:52:40 +00:00
8bdaddd81d
The stdio reader thread now appears to be working recursively along cosmopolitan subprocesses. For example, it's now possible to launch vim.com from the unbourne.com bestline repl, thanks to hacks plus a bug fix to select() timeouts.
26 lines
657 B
C
26 lines
657 B
C
#ifndef COSMOPOLITAN_LIBC_FMT_FMT_H_
|
|
#define COSMOPOLITAN_LIBC_FMT_FMT_H_
|
|
|
|
#if __SIZEOF_POINTER__ == 8
|
|
#define POINTER_XDIGITS 12 /* math.log(2**48-1,16) */
|
|
#else
|
|
#define POINTER_XDIGITS 8
|
|
#endif
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
char *fcvt(double, int, int *, int *);
|
|
char *ecvt(double, int, int *, int *);
|
|
char *gcvt(double, int, char *);
|
|
|
|
#ifdef _COSMO_SOURCE
|
|
int __vcscanf(int (*)(void *), int (*)(int, void *), void *, const char *,
|
|
va_list);
|
|
int __fmt(void *, void *, const char *, va_list);
|
|
#endif
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_FMT_FMT_H_ */
|