< prev index next >

src/java.base/unix/native/libnio/fs/UnixNativeDispatcher.c

Print this page
@@ -463,11 +463,11 @@
          throwUnixException(env, errno);
      }
  }
  
  JNIEXPORT jint JNICALL
- Java_sun_nio_fs_UnixNativeDispatcher_read(JNIEnv* env, jclass this, jint fd,
+ Java_sun_nio_fs_UnixNativeDispatcher_read0(JNIEnv* env, jclass this, jint fd,
      jlong address, jint nbytes)
  {
      ssize_t n;
      void* bufp = jlong_to_ptr(address);
      RESTARTABLE(read((int)fd, bufp, (size_t)nbytes), n);

@@ -476,11 +476,11 @@
      }
      return (jint)n;
  }
  
  JNIEXPORT jint JNICALL
- Java_sun_nio_fs_UnixNativeDispatcher_write(JNIEnv* env, jclass this, jint fd,
+ Java_sun_nio_fs_UnixNativeDispatcher_write0(JNIEnv* env, jclass this, jint fd,
      jlong address, jint nbytes)
  {
      ssize_t n;
      void* bufp = jlong_to_ptr(address);
      RESTARTABLE(write((int)fd, bufp, (size_t)nbytes), n);

@@ -566,11 +566,11 @@
          prepAttributes(env, &buf, attrs);
      }
  }
  
  JNIEXPORT void JNICALL
- Java_sun_nio_fs_UnixNativeDispatcher_fstat(JNIEnv* env, jclass this, jint fd,
+ Java_sun_nio_fs_UnixNativeDispatcher_fstat0(JNIEnv* env, jclass this, jint fd,
      jobject attrs)
  {
      int err;
      struct stat64 buf;
  

@@ -614,22 +614,21 @@
          throwUnixException(env, errno);
      }
  }
  
  JNIEXPORT void JNICALL
- Java_sun_nio_fs_UnixNativeDispatcher_fchmod(JNIEnv* env, jclass this, jint filedes,
+ Java_sun_nio_fs_UnixNativeDispatcher_fchmod0(JNIEnv* env, jclass this, jint filedes,
      jint mode)
  {
      int err;
  
      RESTARTABLE(fchmod((int)filedes, (mode_t)mode), err);
      if (err == -1) {
          throwUnixException(env, errno);
      }
  }
  
- 
  JNIEXPORT void JNICALL
  Java_sun_nio_fs_UnixNativeDispatcher_chown0(JNIEnv* env, jclass this,
      jlong pathAddress, jint uid, jint gid)
  {
      int err;

@@ -652,11 +651,11 @@
          throwUnixException(env, errno);
      }
  }
  
  JNIEXPORT void JNICALL
- Java_sun_nio_fs_UnixNativeDispatcher_fchown(JNIEnv* env, jclass this, jint filedes, jint uid, jint gid)
+ Java_sun_nio_fs_UnixNativeDispatcher_fchown0(JNIEnv* env, jclass this, jint filedes, jint uid, jint gid)
  {
      int err;
  
      RESTARTABLE(fchown(filedes, (uid_t)uid, (gid_t)gid), err);
      if (err == -1) {

@@ -683,11 +682,11 @@
          throwUnixException(env, errno);
      }
  }
  
  JNIEXPORT void JNICALL
- Java_sun_nio_fs_UnixNativeDispatcher_futimes(JNIEnv* env, jclass this, jint filedes,
+ Java_sun_nio_fs_UnixNativeDispatcher_futimes0(JNIEnv* env, jclass this, jint filedes,
      jlong accessTime, jlong modificationTime)
  {
      struct timeval times[2];
      int err = 0;
  

@@ -710,11 +709,11 @@
          throwUnixException(env, errno);
      }
  }
  
  JNIEXPORT void JNICALL
- Java_sun_nio_fs_UnixNativeDispatcher_futimens(JNIEnv* env, jclass this, jint filedes,
+ Java_sun_nio_fs_UnixNativeDispatcher_futimens0(JNIEnv* env, jclass this, jint filedes,
      jlong accessTime, jlong modificationTime)
  {
      struct timespec times[2];
      int err = 0;
  

@@ -802,11 +801,11 @@
          throwUnixException(env, errno);
      }
  }
  
  JNIEXPORT jbyteArray JNICALL
- Java_sun_nio_fs_UnixNativeDispatcher_readdir(JNIEnv* env, jclass this, jlong value) {
+ Java_sun_nio_fs_UnixNativeDispatcher_readdir0(JNIEnv* env, jclass this, jlong value) {
      DIR* dirp = jlong_to_ptr(value);
      struct dirent* ptr;
  
      errno = 0;
      ptr = readdir(dirp);
< prev index next >