Skip to content

Commit

Permalink
implement linux
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Aug 23, 2023
1 parent ceb60f1 commit 101f380
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 2 deletions.
1 change: 1 addition & 0 deletions jfuse-linux-aarch64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
<includeConstant>ERANGE</includeConstant>
<includeConstant>ENOLCK</includeConstant>
<includeConstant>ENAMETOOLONG</includeConstant>
<includeConstant>ENODATA</includeConstant>
</includeConstants>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,9 @@ public int enolck() {
public int enametoolong() {
return errno_h.ENAMETOOLONG();
}

@Override
public int enodata() {
return errno_h.ENODATA();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ public static int ENOSYS() {
public static int ENOTEMPTY() {
return (int)39L;
}
/**
* {@snippet :
* #define ENODATA 61
* }
*/
public static int ENODATA() {
return (int)61L;
}
/**
* {@snippet :
* #define ENOTSUP 95
Expand Down
4 changes: 2 additions & 2 deletions jfuse-linux-amd64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
<includeMacro>ERANGE</includeMacro>
<includeMacro>ENOLCK</includeMacro>
<includeMacro>ENAMETOOLONG</includeMacro>
<includeMacro>ENODATA</includeMacro>
</includeConstants>
</configuration>
</execution>
Expand Down Expand Up @@ -230,5 +231,4 @@
</build>
</profile>
</profiles>

</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,9 @@ public int enolck() {
public int enametoolong() {
return errno_h.ENAMETOOLONG();
}

@Override
public int enodata() {
return errno_h.ENODATA();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,14 @@ public static int ENOSYS() {
public static int ENOTEMPTY() {
return (int)39L;
}
/**
* {@snippet :
* #define ENODATA 61
* }
*/
public static int ENODATA() {
return (int)61L;
}
/**
* {@snippet :
* #define ENOTSUP 95
Expand Down

0 comments on commit 101f380

Please sign in to comment.