fn fchmod(fd: fd_t, mode: mode_t) FChmodError!void

Changes the mode of the file referred to by the file descriptor. The process must have the correct privileges in order to do this successfully, or must have the effective user ID matching the owner of the file.

Parameters

fd: fd_t,
mode: mode_t,