Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
703f56e5
Commit
703f56e5
authored
Oct 24, 2011
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some minor fixes to the rewritten syscall library.
From-SVN: r180363
parent
d377a5fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
libgo/go/syscall/libcall_linux.go
+7
-2
libgo/go/syscall/libcall_posix.go
+1
-4
No files found.
libgo/go/syscall/libcall_linux.go
View file @
703f56e5
...
...
@@ -196,6 +196,10 @@ func PtraceDetach(pid int) (errno int) { return ptrace(PTRACE_DETACH, pid, 0, 0)
// //sys Fstatfs(fd int, buf *Statfs_t) (errno int)
// //fstatfs(fd int, buf *Statfs_t) int
// FIXME: Only available as a syscall.
// //sysnb Gettid() (tid int)
// //gettid() Pid_t
//sys Ioperm(from int, num int, on int) (errno int)
//ioperm(from _C_long, num _C_long, on int) int
...
...
@@ -298,8 +302,9 @@ func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n i
//sys Tee(rfd int, wfd int, len int, flags int) (n int64, errno int)
//tee(rfd int, wfd int, len Size_t, flags uint) Ssize_t
//sysnb Tgkill(tgid int, tid int, sig int) (errno int)
//tgkill(tgid int, tid int, sig int) int
// FIXME: Only available as a syscall.
// //sysnb Tgkill(tgid int, tid int, sig int) (errno int)
// //tgkill(tgid int, tid int, sig int) int
//sys unlinkat(dirfd int, path string, flags int) (errno int)
//unlinkat(dirfd int, path *byte, flags int) int
...
...
libgo/go/syscall/libcall_posix.go
View file @
703f56e5
...
...
@@ -236,9 +236,6 @@ func FDZero(set *FdSet) {
//sysnb Getrusage(who int, rusage *Rusage) (errno int)
//getrusage(who int, rusage *Rusage) int
//sysnb Gettid() (tid int)
//gettid() Pid_t
//sysnb gettimeofday(tv *Timeval, tz *byte) (errno int)
//gettimeofday(tv *Timeval, tz *byte) int
func
Gettimeofday
(
tv
*
Timeval
)
(
errno
int
)
{
...
...
@@ -334,7 +331,7 @@ func Settimeofday(tv *Timeval) (errno int) {
// //times(tms *Tms) _clock_t
//sysnb Umask(mask int) (oldmask int)
//uma
r
k(mask Mode_t) Mode_t
//uma
s
k(mask Mode_t) Mode_t
//sys Unlink(path string) (errno int)
//unlink(path *byte) int
...
...
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