Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ Constants func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) Constants ¶ View Source const ( RENAME_EXCHANGE = unix.RENAME_EXCHANGE ) Variables ¶ This section is empty. Functions ¶ func Renameat ¶ func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error) Renameat is a wrapper around renameat syscall. On Linux, it is a wrapper around renameat2(2). On Darwin, it is a wrapper around renameatx_np(2). On FreeBSD, it is a wrapper around renameat(2). Types ¶ This section is empty. Source Files ¶ View all Source files renameat.go renameat_linux.go Click to show internal directories. Click to hide internal directories.