src/java.base/share/native/libjava/io_util.h
changeset 49440 396ea30afbd5
parent 47216 71c04702a3d5
child 52095 c459186b9584
equal deleted inserted replaced
49439:bf53d82a51e5 49440:396ea30afbd5
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    52                jint len, jfieldID fid);
    52                jint len, jfieldID fid);
    53 void writeSingle(JNIEnv *env, jobject this, jint byte, jboolean append, jfieldID fid);
    53 void writeSingle(JNIEnv *env, jobject this, jint byte, jboolean append, jfieldID fid);
    54 void writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off,
    54 void writeBytes(JNIEnv *env, jobject this, jbyteArray bytes, jint off,
    55                 jint len, jboolean append, jfieldID fid);
    55                 jint len, jboolean append, jfieldID fid);
    56 void fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags);
    56 void fileOpen(JNIEnv *env, jobject this, jstring path, jfieldID fid, int flags);
    57 void throwFileNotFoundException(JNIEnv *env, jstring path);
    57 JNIEXPORT void JNICALL
       
    58 throwFileNotFoundException(JNIEnv *env, jstring path);
    58 
    59 
    59 /*
    60 /*
    60  * Macros for managing platform strings.  The typical usage pattern is:
    61  * Macros for managing platform strings.  The typical usage pattern is:
    61  *
    62  *
    62  *     WITH_PLATFORM_STRING(env, string, var) {
    63  *     WITH_PLATFORM_STRING(env, string, var) {