Searched defs:errnum (Results 1 - 2 of 2) sorted by relevance
/dalvik/libnativehelper/include/nativehelper/ |
H A D | JNIHelp.h | 69 int jniThrowIOException(C_JNIEnv* env, int errnum); 73 * value 'errnum'. The returned pointer may or may not be equal to 'buf'. 77 const char* jniStrError(int errnum, char* buf, size_t buflen); 123 inline int jniThrowIOException(JNIEnv* env, int errnum) argument 125 return jniThrowIOException(&env->functions, errnum);
|
/dalvik/libnativehelper/ |
H A D | JNIHelp.c | 154 int jniThrowIOException(JNIEnv* env, int errnum) argument 157 const char* message = jniStrError(errnum, buffer, sizeof(buffer)); 161 const char* jniStrError(int errnum, char* buf, size_t buflen) argument 165 // char *strerror_r(int errnum, char *buf, size_t n); 166 char* ret = (char*) strerror_r(errnum, buf, buflen); 176 snprintf(buf, buflen, "errno %d", errnum);
|
Completed in 188 milliseconds