equal
deleted
inserted
replaced
52 /************************************************************** |
52 /************************************************************** |
53 * Output stream |
53 * Output stream |
54 */ |
54 */ |
55 |
55 |
56 JNIEXPORT void JNICALL |
56 JNIEXPORT void JNICALL |
57 Java_java_io_FileOutputStream_open(JNIEnv *env, jobject this, |
57 Java_java_io_FileOutputStream_open0(JNIEnv *env, jobject this, |
58 jstring path, jboolean append) { |
58 jstring path, jboolean append) { |
59 fileOpen(env, this, path, fos_fd, |
59 fileOpen(env, this, path, fos_fd, |
60 O_WRONLY | O_CREAT | (append ? O_APPEND : O_TRUNC)); |
60 O_WRONLY | O_CREAT | (append ? O_APPEND : O_TRUNC)); |
61 } |
61 } |
62 |
62 |
63 JNIEXPORT void JNICALL |
63 JNIEXPORT void JNICALL |