1 // natFileChannelImpl.cc
3 /* Copyright (C) 2003 Free Software Foundation
5 This file is part of libgcj.
7 This software is copyrighted work licensed under the terms of the
8 Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
17 #include <sys/types.h>
27 #include <gnu/java/nio/FileChannelImpl.h>
28 #include <java/io/IOException.h>
29 #include <java/nio/channels/FileChannel.h>
32 gnu::java::nio::FileChannelImpl::lengthInternal (jint fd
)
34 throw new ::java::io::IOException (JvNewStringUTF ("lengthInternal not implemented"));
38 gnu::java::nio::FileChannelImpl::nio_mmap_file (jint
, jlong
, jint
, jint
)
40 throw new ::java::io::IOException (JvNewStringUTF ("mmap not implemented"));
44 gnu::java::nio::FileChannelImpl::nio_unmmap_file (jint
, jlong
, jint
)
46 throw new ::java::io::IOException (JvNewStringUTF ("munmap not implemented"));
50 gnu::java::nio::FileChannelImpl::nio_msync (jint
, jlong
, jint
)
52 throw new ::java::io::IOException (JvNewStringUTF ("msync not implemented"));