/[classpath]/classpath/native/jni/java-io/FileDescriptor.c
ViewVC logotype

Diff of /classpath/native/jni/java-io/FileDescriptor.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by arenn, Sat Mar 15 21:37:45 2003 UTC revision 1.6 by cbj, Fri Apr 4 05:29:14 2003 UTC
# Line 189  Java_java_io_FileDescriptor_nativeClose( Line 189  Java_java_io_FileDescriptor_nativeClose(
189   * Writes a single byte to the specified file descriptor   * Writes a single byte to the specified file descriptor
190   * Return status code, exception on error   * Return status code, exception on error
191   */   */
192  JNIEXPORT jint JNICALL  JNIEXPORT jlong JNICALL
193  Java_java_io_FileDescriptor_nativeWriteByte(JNIEnv *env, jobject obj,  Java_java_io_FileDescriptor_nativeWriteByte(JNIEnv *env, jobject obj,
194                                              jlong fd, jint b)                                              jlong fd, jint b)
195  {  {
# Line 220  Java_java_io_FileDescriptor_nativeWriteB Line 220  Java_java_io_FileDescriptor_nativeWriteB
220   * Writes a byte buffer to the specified file descriptor   * Writes a byte buffer to the specified file descriptor
221   * Return status code, exception on error   * Return status code, exception on error
222   */   */
223  JNIEXPORT jint JNICALL  JNIEXPORT jlong JNICALL
224  Java_java_io_FileDescriptor_nativeWriteBuf(JNIEnv *env, jobject obj,  Java_java_io_FileDescriptor_nativeWriteBuf(JNIEnv *env, jobject obj,
225                                             jlong fd, jarray buf, jint offset,                                             jlong fd, jbyteArray buf,
226                                             jint len)                                             jint offset, jint len)
227  {  {
228    int native_fd;    int native_fd;
229    ssize_t rc, bytes_written = 0;    ssize_t rc, bytes_written = 0;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26