111 try {
112 fremovexattr0(filedes, buffer.address());
113 } finally {
114 buffer.release();
115 }
116 }
117
118 private static native void fremovexattr0(int filedes, long nameAddress)
119 throws UnixException;
120
121 /**
122 * size_t flistxattr(int filedes, const char *list, size_t size)
123 */
124 static native int flistxattr(int filedes, long listAddress, int size)
125 throws UnixException;
126
127 // initialize
128 private static native void init();
129
130 static {
131 jdk.internal.loader.BootLoader.loadLibrary("nio");
132 init();
133 }
134 }
|
111 try {
112 fremovexattr0(filedes, buffer.address());
113 } finally {
114 buffer.release();
115 }
116 }
117
118 private static native void fremovexattr0(int filedes, long nameAddress)
119 throws UnixException;
120
121 /**
122 * size_t flistxattr(int filedes, const char *list, size_t size)
123 */
124 static native int flistxattr(int filedes, long listAddress, int size)
125 throws UnixException;
126
127 // initialize
128 private static native void init();
129
130 static {
131 sun.security.action.LoadLibraryAction.privilegedLoadLibrary("nio");
132 init();
133 }
134 }
|