OSDN Git Service

PR c/21659
[pf3gnuchains/gcc-fork.git] / libgo / syscalls / sysfile_largefile.go
1 // sysfile_largefile.go -- For systems which use the large file interface.
2
3 // Copyright 2011 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
6
7 package syscall
8
9 func libc_pread(fd int, buf *byte, count Size_t, offset Offset_t) Ssize_t __asm__ ("pread64")
10 func libc_pwrite(fd int, buf *byte, count Size_t, offset Offset_t) Ssize_t __asm__ ("pwrite64")
11 func libc_lseek(int, Offset_t, int) Offset_t __asm__ ("lseek64")
12 func libc_truncate(path *byte, length Offset_t) int __asm__ ("truncate64")
13 func libc_ftruncate(fd int, length Offset_t) int __asm__ ("ftruncate64")