Debian Codegraph @

libgo/go/syscall/libcall_posix_nonhurd.go

raw
1 // Copyright 2019 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 //go:build !hurd
6 // +build !hurd
7
8 package syscall
9
10 // Removed the mount call for GNU/Hurd, it exists but use translators.
11 // Functionality is not the same as descibed in Linux <sys/mount.h>.
12 // Removed the madvise call for GNU/Hurd, not yet implemented.
13
14 //sys Mount(source string, target string, fstype string, flags uintptr, data string) (err error)
15 //mount(source *byte, target *byte, fstype *byte, flags _C_long, data *byte) _C_int
16
17 //sys Madvise(b []byte, advice int) (err error)
18 //madvise(addr *byte, len Size_t, advice _C_int) _C_int