source: trunk/gcc/libjava/gnu/java/nio/natFileChannelImpl.cc

Last change on this file was 1389, checked in by bird, 21 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.2 KB
Line 
1// natFileChannelImpl.cc
2
3/* Copyright (C) 2003 Free Software Foundation
4
5 This file is part of libgcj.
6
7This software is copyrighted work licensed under the terms of the
8Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9details. */
10
11#include <config.h>
12
13#include <jvm.h>
14
15#include <errno.h>
16#include <string.h>
17#include <sys/types.h>
18
19#ifdef HAVE_UNISTD_H
20#include <unistd.h>
21#endif
22
23#ifdef HAVE_FCNTL_H
24#include <fcntl.h>
25#endif
26
27#include <gnu/java/nio/FileChannelImpl.h>
28#include <java/io/IOException.h>
29#include <java/nio/channels/FileChannel.h>
30
31jlong
32gnu::java::nio::FileChannelImpl::lengthInternal (jint fd)
33{
34 throw new ::java::io::IOException (JvNewStringUTF ("lengthInternal not implemented"));
35}
36
37jlong
38gnu::java::nio::FileChannelImpl::nio_mmap_file (jint, jlong, jint, jint)
39{
40 throw new ::java::io::IOException (JvNewStringUTF ("mmap not implemented"));
41}
42
43void
44gnu::java::nio::FileChannelImpl::nio_unmmap_file (jint, jlong, jint)
45{
46 throw new ::java::io::IOException (JvNewStringUTF ("munmap not implemented"));
47}
48
49void
50gnu::java::nio::FileChannelImpl::nio_msync (jint, jlong, jint)
51{
52 throw new ::java::io::IOException (JvNewStringUTF ("msync not implemented"));
53}
Note: See TracBrowser for help on using the repository browser.