Where are declared and how to make build these c identifiers?
Adam D. Ruppe
destructionator at gmail.com
Sat Feb 23 23:08:22 UTC 2019
On Saturday, 23 February 2019 at 21:10:19 UTC, Cleverson Casarin
Uliana wrote:
> However, I'd like to know how all these functions really work,
> so I'd like to know where they are declared and/or defined.
Those functions are extensions from the Digital Mars C runtime
library (inspired by something Borland offered back in the day).
Only real docs for them are here:
https://digitalmars.com/rtl/conio.html
The STI_conio one isn't documented, I think that is the internal
initializer function, and STD_conio is the destructor function.
> lld-link: error: undefined symbol: _STD_conio
> >>> referenced by keypress.obj:(_Dmain)
Those functions are only present in the DMC library, which is
only used when using `dmd` to make a 32 bit build on Windows (and
even then, only if you do NOT use `-m32mscoff`).
I would suggest using different functions... like my terminal.d
<https://github.com/adamdruppe/arsd/blob/master/terminal.d>library which has similar api (see example: http://dpldocs.info/experimental-docs/arsd.terminal.html#single-key )
What do you need the program to actually do?
More information about the Digitalmars-d-learn
mailing list