OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgo/] [go/] [syscall/] [libcall_posix_largefile.go] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 747 jeremybenn
// Copyright 2009 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
// POSIX library calls on systems which use the largefile interface.
6
 
7
package syscall
8
 
9
//sys   Fstat(fd int, stat *Stat_t) (err error)
10
//fstat64(fd int, stat *Stat_t) int
11
 
12
//sys   Ftruncate(fd int, length int64) (err error)
13
//ftruncate64(fd int, length Offset_t) int
14
 
15
//sys   Lstat(path string, stat *Stat_t) (err error)
16
//lstat64(path *byte, stat *Stat_t) int
17
 
18
//sys   mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
19
//mmap64(addr *byte, length Size_t, prot int, flags int, fd int, offset Offset_t) *byte
20
 
21
//sys   Open(path string, mode int, perm uint32) (fd int, err error)
22
//open64(path *byte, mode int, perm Mode_t) int
23
 
24
//sys   Pread(fd int, p []byte, offset int64) (n int, err error)
25
//pread64(fd int, buf *byte, count Size_t, offset Offset_t) Ssize_t
26
 
27
//sys   Pwrite(fd int, p []byte, offset int64) (n int, err error)
28
//pwrite64(fd int, buf *byte, count Size_t, offset Offset_t) Ssize_t
29
 
30
//sys   Seek(fd int, offset int64, whence int) (off int64, err error)
31
//lseek64(fd int, offset Offset_t, whence int) Offset_t
32
 
33
//sys   Stat(path string, stat *Stat_t) (err error)
34
//stat64(path *byte, stat *Stat_t) int
35
 
36
//sys   Truncate(path string, length int64) (err error)
37
//truncate64(path *byte, length Offset_t) int

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.