Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
977475fd
Commit
977475fd
authored
May 24, 2010
by
Andrew Gerrand
Committed by
Russ Cox
May 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: update freebsd_amd64
R=rsc, r CC=golang-dev
https://golang.org/cl/1268041
parent
1dabecec
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
604 additions
and
523 deletions
+604
-523
src/pkg/syscall/zerrors_freebsd_amd64.go
src/pkg/syscall/zerrors_freebsd_amd64.go
+591
-522
src/pkg/syscall/zsyscall_freebsd_amd64.go
src/pkg/syscall/zsyscall_freebsd_amd64.go
+13
-1
No files found.
src/pkg/syscall/zerrors_freebsd_amd64.go
View file @
977475fd
This diff is collapsed.
Click to expand it.
src/pkg/syscall/zsyscall_freebsd_amd64.go
View file @
977475fd
// mksyscall.sh syscall_freebsd.go syscall_freebsd_amd64.go
// mksyscall.sh syscall_
bsd.go syscall_
freebsd.go syscall_freebsd_amd64.go
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
package
syscall
...
...
@@ -121,6 +121,18 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
return
}
func
utimes
(
path
string
,
timeval
*
[
2
]
Timeval
)
(
errno
int
)
{
_
,
_
,
e1
:=
Syscall
(
SYS_UTIMES
,
uintptr
(
unsafe
.
Pointer
(
StringBytePtr
(
path
))),
uintptr
(
unsafe
.
Pointer
(
timeval
)),
0
)
errno
=
int
(
e1
)
return
}
func
futimes
(
fd
int
,
timeval
*
[
2
]
Timeval
)
(
errno
int
)
{
_
,
_
,
e1
:=
Syscall
(
SYS_FUTIMES
,
uintptr
(
fd
),
uintptr
(
unsafe
.
Pointer
(
timeval
)),
0
)
errno
=
int
(
e1
)
return
}
func
fcntl
(
fd
int
,
cmd
int
,
arg
int
)
(
val
int
,
errno
int
)
{
r0
,
_
,
e1
:=
Syscall
(
SYS_FCNTL
,
uintptr
(
fd
),
uintptr
(
cmd
),
uintptr
(
arg
))
val
=
int
(
r0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment