Exactly, that is why applications that don't want to break with each OS update don't touch those APIs, making them irrelevant for application developers.
Also, contrary to Windows, since Android 7, applications that link to undocumented APIs get terminated as security measure.
Ask the termux guys how much fun they are having by refusing to acknowledge the fact that they have to use JNI and not Linux syscalls for their stuff.
Sure it has, because it doesn't matter if it is open source or not, if it is a stable API described on the NDK documentation it is not allowed.
Something that termux guys are having some issues to swallow, regarless of Linux being the kernel, it is not allowed to do what they want, wrapping Java APIs via JNI is the only allowed way.
the NT native kernel API is also undocumented