private static final String[] libraryDeps;
\f
- /* Like `dup' in C. */
- public static native int dup (int fd);
-
- /* Like `close' in C. */
- public static native int close (int fd);
-
/* Obtain the fingerprint of this build of Emacs. The fingerprint
can be used to determine the dump file name. */
public static native String getFingerprint ();
#pragma GCC diagnostic ignored "-Wmissing-prototypes"
#endif
-JNIEXPORT jint JNICALL
-NATIVE_NAME (dup) (JNIEnv *env, jobject object, jint fd)
-{
- JNI_STACK_ALIGNMENT_PROLOGUE;
-
- return dup (fd);
-}
-
-JNIEXPORT jint JNICALL
-NATIVE_NAME (close) (JNIEnv *env, jobject object, jint fd)
-{
- JNI_STACK_ALIGNMENT_PROLOGUE;
-
- return close (fd);
-}
-
JNIEXPORT jstring JNICALL
NATIVE_NAME (getFingerprint) (JNIEnv *env, jobject object)
{