mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 15:03:34 +00:00
13 lines
505 B
C
13 lines
505 B
C
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_WINSIZE_INTERNAL_H_
|
|
#define COSMOPOLITAN_LIBC_CALLS_STRUCT_WINSIZE_INTERNAL_H_
|
|
#include "libc/calls/struct/winsize.h"
|
|
#include "libc/intrin/fds.h"
|
|
#include "libc/mem/alloca.h"
|
|
COSMOPOLITAN_C_START_
|
|
|
|
int tcgetwinsize_nt(int, struct winsize *);
|
|
const char *_DescribeWinsize(char[64], int, const struct winsize *);
|
|
#define DescribeWinsize(rc, ws) _DescribeWinsize(alloca(64), rc, ws)
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_WINSIZE_INTERNAL_H_ */
|