OSDN Git Service

2003-02-13 Michael <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / nio / natFileChannelImpl.cc
1 // natFileChannelImpl.cc
2
3 /* Copyright (C) 2003  Free Software Foundation
4
5    This file is part of libgcj.
6
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
9 details.  */
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
31 jlong
32 gnu::java::nio::FileChannelImpl::lengthInternal (jint fd)
33 {
34   throw new ::java::io::IOException (JvNewStringUTF ("lengthInternal not implemented"));
35 }
36
37 jlong
38 gnu::java::nio::FileChannelImpl::nio_mmap_file (jint, jlong, jint, jint)
39 {
40   throw new ::java::io::IOException (JvNewStringUTF ("mmap not implemented"));
41 }
42
43 void
44 gnu::java::nio::FileChannelImpl::nio_unmmap_file (jint, jlong, jint)
45 {
46   throw new ::java::io::IOException (JvNewStringUTF ("munmap not implemented"));
47 }
48
49 void
50 gnu::java::nio::FileChannelImpl::nio_msync (jint, jlong, jint)
51 {
52   throw new ::java::io::IOException (JvNewStringUTF ("msync not implemented"));
53 }