Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
zerrors_freebsd_amd64.go
src/pkg/syscall/zerrors_freebsd_amd64.go
+0
-0
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
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
package
syscall
package
syscall
...
@@ -121,6 +121,18 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
...
@@ -121,6 +121,18 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr)
return
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
)
{
func
fcntl
(
fd
int
,
cmd
int
,
arg
int
)
(
val
int
,
errno
int
)
{
r0
,
_
,
e1
:=
Syscall
(
SYS_FCNTL
,
uintptr
(
fd
),
uintptr
(
cmd
),
uintptr
(
arg
))
r0
,
_
,
e1
:=
Syscall
(
SYS_FCNTL
,
uintptr
(
fd
),
uintptr
(
cmd
),
uintptr
(
arg
))
val
=
int
(
r0
)
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