Skip to content

Commit

Permalink
Implement ftruncate() for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed May 13, 2015
1 parent 36d2f34 commit 8e0cf15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/jnr/posix/POSIXFactory.java
Expand Up @@ -241,6 +241,7 @@ private static FunctionMapper functionMapper() {
.map("dup", "_dup")
.map("dup2", "_dup2")
.map("lseek", "_lseek")
.map("ftruncate", "_chsize")
.build();

case SOLARIS:
Expand Down

0 comments on commit 8e0cf15

Please sign in to comment.