mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8204310: Simpler RandomAccessFile.setLength() on Windows
Reviewed-by: alanb
This commit is contained in:
parent
bebd49cf84
commit
8774d70044
4 changed files with 289 additions and 50 deletions
|
@ -43,7 +43,7 @@ WCHAR* currentDir(int di);
|
|||
int currentDirLength(const WCHAR* path, int pathlen);
|
||||
int handleAvailable(FD fd, jlong *pbytes);
|
||||
int handleSync(FD fd);
|
||||
int handleSetLength(FD fd, jlong length);
|
||||
jint handleSetLength(FD fd, jlong length);
|
||||
jlong handleGetLength(FD fd);
|
||||
JNIEXPORT jint handleRead(FD fd, void *buf, jint len);
|
||||
jint handleWrite(FD fd, const void *buf, jint len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue