MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / console_init

Function console_init

tinyemu/jsemu.c:161–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161static CharacterDevice *console_init(void)
162{
163 CharacterDevice *dev;
164 console_resize_pending = TRUE;
165 dev = mallocz(sizeof(*dev));
166 dev->write_data = console_write;
167 dev->read_data = console_read;
168 return dev;
169}
170
171typedef struct {
172 VirtMachineParams *p;

Callers 1

init_vmFunction · 0.70

Calls 1

malloczFunction · 0.85

Tested by

no test coverage detected