Where is renameat2 on Catalina?
The man page you link to says:
renameat2() is Linux-specific.

It's never going to be in macOS.
Several other references point to that man page being Linux, not BSD 4.2. It's clearly a mistake.