diff options
| author | Michael Pratt <mpratt@google.com> | 2022-02-28 13:41:33 -0500 |
|---|---|---|
| committer | Michael Pratt <mpratt@google.com> | 2022-04-21 18:06:48 +0000 |
| commit | 1de1c0d10df18f4fda46aff82aadd9edfba2b751 (patch) | |
| tree | 1d7c52a4eedab7a06a7ea0ec27cd58c82b6789dd /src/syscall/syscall_aix.go | |
| parent | 342b495301bbd8b75c2721212a08ce41e3f82265 (diff) | |
| download | go-1de1c0d10df18f4fda46aff82aadd9edfba2b751.tar.xz | |
syscall: move Syscall declarations to OS files
Future CLs will be changing the provenance of these functions. Move the
declarations to the individual OS files now so that future CLs can
change only 1 OS at a time rather than changing all at once.
For #51087
Change-Id: I5e1bca71e670263d8c0faa586c1b6b4de1a114b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/388474
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/syscall/syscall_aix.go')
| -rw-r--r-- | src/syscall/syscall_aix.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/syscall/syscall_aix.go b/src/syscall/syscall_aix.go index a2f8c78438..693424165e 100644 --- a/src/syscall/syscall_aix.go +++ b/src/syscall/syscall_aix.go @@ -15,6 +15,11 @@ import ( "unsafe" ) +func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) +func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) +func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) +func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) + // Implemented in runtime/syscall_aix.go. func rawSyscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) func syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) |
