summaryrefslogtreecommitdiff
path: root/src/pkg/syscall/syscall_freebsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/syscall/syscall_freebsd.go')
-rw-r--r--src/pkg/syscall/syscall_freebsd.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pkg/syscall/syscall_freebsd.go b/src/pkg/syscall/syscall_freebsd.go
index acf636797..ee947be20 100644
--- a/src/pkg/syscall/syscall_freebsd.go
+++ b/src/pkg/syscall/syscall_freebsd.go
@@ -17,11 +17,11 @@ const OS = "freebsd"
/*
* Exposed directly
*/
-//sys Access(path string, flags int) (errno int)
+//sys Access(path string, mode uint32) (errno int)
//sys Adjtime(delta *Timeval, olddelta *Timeval) (errno int)
//sys Chdir(path string) (errno int)
//sys Chflags(path string, flags int) (errno int)
-//sys Chmod(path string, mode int) (errno int)
+//sys Chmod(path string, mode uint32) (errno int)
//sys Chown(path string, uid int, gid int) (errno int)
//sys Chroot(path string) (errno int)
//sys Close(fd int) (errno int)
@@ -30,7 +30,7 @@ const OS = "freebsd"
//sys Exit(code int)
//sys Fchdir(fd int) (errno int)
//sys Fchflags(path string, flags int) (errno int)
-//sys Fchmod(fd int, mode int) (errno int)
+//sys Fchmod(fd int, mode uint32) (errno int)
//sys Fchown(fd int, uid int, gid int) (errno int)
//sys Flock(fd int, how int) (errno int)
//sys Fpathconf(fd int, name int) (val int, errno int)
@@ -61,11 +61,11 @@ const OS = "freebsd"
//sys Link(path string, link string) (errno int)
//sys Listen(s int, backlog int) (errno int)
//sys Lstat(path string, stat *Stat_t) (errno int)
-//sys Mkdir(path string, mode int) (errno int)
-//sys Mkfifo(path string, mode int) (errno int)
-//sys Mknod(path string, mode int, dev int) (errno int)
+//sys Mkdir(path string, mode uint32) (errno int)
+//sys Mkfifo(path string, mode uint32) (errno int)
+//sys Mknod(path string, mode uint32, dev int) (errno int)
//sys Nanosleep(time *Timespec, leftover *Timespec) (errno int)
-//sys Open(path string, mode int, perm int) (fd int, errno int)
+//sys Open(path string, mode int, perm uint32) (fd int, errno int)
//sys Pathconf(path string, name int) (val int, errno int)
//sys Pread(fd int, p []byte, offset int64) (n int, errno int)
//sys Pwrite(fd int, p []byte, offset int64) (n int, errno int)