more pipe stuffs

This commit is contained in:
minjaesong
2022-05-12 10:47:20 +09:00
parent 541d385ec6
commit 5b8930202f
4 changed files with 69 additions and 26 deletions

View File

@@ -76,8 +76,7 @@ filesystem._close = (portNo) => {
filesystem._flush = (portNo) => {
com.sendMessage(portNo, "FLUSH");
};
// @return true if operation committed successfully, false if:
// - opening file with R-mode and target file does not exists
// @return disk status code (0 for successful operation)
// throws if:
// - java.lang.NullPointerException if path is null
// - Error if operation mode is not "R", "W" nor "A"