Created
June 4, 2015 12:45
-
-
Save epickrram/e63d968c31ae5c6f510e to your computer and use it in GitHub Desktop.
IO_Util.handleWrite()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
From http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/solaris/native/java/io/io_util_md.h#l71 | |
*/ | |
#define IO_Write handleWrite | |
#define IO_Append handleWrite | |
// ... | |
/* | |
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/solaris/native/java/io/io_util_md.c#l160 | |
*/ | |
ssize_t | |
handleWrite(FD fd, const void *buf, jint len) | |
{ | |
ssize_t result; | |
RESTARTABLE(write(fd, buf, len), result); | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment