retroforth/library/openbsd.retro
crc 44b9cd2193 add library stubs for openbsd: device (vm support coming soon)
FossilOrigin-Name: acfaa8caead4e0c4229bdf48180ad52cb99330da3f7dbd315477c59ad3a7792b
2024-09-16 22:59:49 +00:00

16 lines
419 B
Forth

Extensions relating to OpenBSD-specific functionality
~~~
:io:openbsd (:...n-)
;
'For_use_on_OpenBSD_only:_invoke_host_specific_functionality.
add-description
:openbsd:pledge (:s-) ;
'For_use_on_OpenBSD_only:_invoke_pledge()_with_the_provided_string.
add-description
:openbsd:unveil (:s-) ;
'For_use_on_OpenBSD_only:_invoke_unveil()_with_the_provided_string._A_pointer_to_0_can_also_be_passed.
add-description
~~~