blob: e41a65db79abc85aa75d3a2fac503e0c6022b428 [file] [log] [blame] [edit]
// Copyright 2025 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build linux && (loong64 || riscv64)
package unix
import "syscall"
const (
// loong64 and riscv64 only have renameat2.
// renameat2 has an extra flags parameter.
// When called with a 0 flags it is identical to renameat.
renameatTrap uintptr = syscall.SYS_RENAMEAT2
)