You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sue Moon edited this page Apr 1, 2021
·
4 revisions
In KENS, you have to manage file descriptors per process. KENS provides the file descriptor management methods in class SystemCallInterface. The parameter processID to createFileDescriptor specifies the process associated with the file descriptor.
You can create a new file descriptor using createFileDescriptor.
This method allocates a new file descriptor in a POSIX-compliant way and returns it.
Also, you can remove a specific file descriptor using removeFileDescriptor.