* Closes a virtual file descriptor. * @param {number} fd The file descriptor number * @returns {boolean} True if the fd was found and closed
(fd)
| 75 | * @returns {boolean} True if the fd was found and closed |
| 76 | */ |
| 77 | function closeVirtualFd(fd) { |
| 78 | return openFDs.delete(fd); |
| 79 | } |
| 80 | |
| 81 | module.exports = { |
| 82 | VFS_FD_MASK, |