mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 21:10:29 +00:00
Add some definitions for Linux frame buffer/console ioctl APIs (#712)
Co-authored-by: tkchia <tkchia-cosmo@gmx.com>
This commit is contained in:
parent
d2f811eff3
commit
73507d5f4e
21 changed files with 133 additions and 0 deletions
26
libc/sysv/consts/fbio.h
Normal file
26
libc/sysv/consts/fbio.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_FB_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_FB_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const uint64_t FBIOGET_VSCREENINFO;
|
||||
extern const uint64_t FBIOPUT_VSCREENINFO;
|
||||
extern const uint64_t FBIOGET_FSCREENINFO;
|
||||
extern const uint64_t FBIOGETCMAP;
|
||||
extern const uint64_t FBIOPUTCMAP;
|
||||
extern const uint64_t FBIOPAN_DISPLAY;
|
||||
extern const uint64_t FBIO_WAITFORVSYNC;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
||||
#define FBIOGET_VSCREENINFO SYMBOLIC(FBIOGET_VSCREENINFO)
|
||||
#define FBIOPUT_VSCREENINFO SYMBOLIC(FBIOPUT_VSCREENINFO)
|
||||
#define FBIOGET_FSCREENINFO SYMBOLIC(FBIOGET_FSCREENINFO)
|
||||
#define FBIOGETCMAP SYMBOLIC(FBIOGETCMAP)
|
||||
#define FBIOPUTCMAP SYMBOLIC(FBIOPUTCMAP)
|
||||
#define FBIOPAN_DISPLAY SYMBOLIC(FBIOPAN_DISPLAY)
|
||||
#define FBIO_WAITFORVSYNC SYMBOLIC(FBIO_WAITFORVSYNC)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_FB_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue