diff options
-rw-r--r-- | include/android/sharedmem_jni.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/android/sharedmem_jni.h b/include/android/sharedmem_jni.h index 38980f3ccc..85ac78f9b1 100644 --- a/include/android/sharedmem_jni.h +++ b/include/android/sharedmem_jni.h @@ -67,7 +67,8 @@ extern "C" { * \param env The JNIEnv* pointer * \param sharedMemory The Java android.os.SharedMemory object * \return file descriptor that denotes the shared memory; -1 if the shared memory object is - * already closed or if the JNIEnv or jobject is NULL. + * already closed, if the JNIEnv or jobject is NULL, or if there are too many open file + * descriptors (errno=EMFILE) */ int ASharedMemory_dupFromJava(JNIEnv* env, jobject sharedMemory); |