mcpplibs.openkal-dos
#includeAn implementation of openkal on DOS through DPMI (technical experiment only)
#include <openkal/env.h>
mcpp add mcpplibs.openkal-dos@0.3.0
Usage
From this repository's own test project — built and run by CI, not written for the website.
// The C surface of openkal through the implementation for this system.
//
// Observations of the declarations recent rounds added, in the terms a caller
// relies on: a context started with a least stack size is told at least that
// size and has the room; a closed directory's enumeration is refused; and
// (0.17) the system is named, this program names itself with the moment it
// started, and a rename that does not replace refuses a name that is taken;
// (0.17.1) a joined command line is refused where programs receive vectors;
// (0.18) a file is mapped, the region holds its bytes and zero after its end;
// (0.19) the cores are no more than the processors, and a started context
// lowers its claim on the processors where the implementation claims it;
// (0.20) a transfer at an offset neither uses nor moves the file's position,
// this program is told the memory it occupies and its peak, and a region is
// reserved, backed, written, its backing returned and backed again reading
// zero, and released; (0.21) where the implementation states it, part of an
// executable region is a file's bytes, read from where the file holds them;
// (0.22) the null device beside a stream at one position is refused, and is
// refused as unsupported where the implementation does not state it; (0.23) a
// region at an address, zero; a read-only attenuation; the machine's memory
// and the resource preference; (0.25) where the volume states it, a second name
// for a file reads as the first, and a name that is taken is refused.
// The terminal is not observed here,
// …
tests/examples/openkal/tests/kal.cpp · project tests/examples/openkal
Build · upstream manifest
- manifest version
0.3.0- dependencies
openkal- source
https://raw.githubusercontent.com/mcpplibs/openkal-dos/0.3.0/mcpp.toml