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] - Rev 818

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

// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// POSIX library calls on systems which use the largefile interface.

package syscall

//sys   Fstat(fd int, stat *Stat_t) (err error)
//fstat64(fd int, stat *Stat_t) int

//sys   Ftruncate(fd int, length int64) (err error)
//ftruncate64(fd int, length Offset_t) int

//sys   Lstat(path string, stat *Stat_t) (err error)
//lstat64(path *byte, stat *Stat_t) int

//sys   mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
//mmap64(addr *byte, length Size_t, prot int, flags int, fd int, offset Offset_t) *byte

//sys   Open(path string, mode int, perm uint32) (fd int, err error)
//open64(path *byte, mode int, perm Mode_t) int

//sys   Pread(fd int, p []byte, offset int64) (n int, err error)
//pread64(fd int, buf *byte, count Size_t, offset Offset_t) Ssize_t

//sys   Pwrite(fd int, p []byte, offset int64) (n int, err error)
//pwrite64(fd int, buf *byte, count Size_t, offset Offset_t) Ssize_t

//sys   Seek(fd int, offset int64, whence int) (off int64, err error)
//lseek64(fd int, offset Offset_t, whence int) Offset_t

//sys   Stat(path string, stat *Stat_t) (err error)
//stat64(path *byte, stat *Stat_t) int

//sys   Truncate(path string, length int64) (err error)
//truncate64(path *byte, length Offset_t) int

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

powered by: WebSVN 2.1.0

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