Sets the file descriptor flags of a file descriptor.
fn fcntl_setfd(fd: i32, arg: i32) -> i32
The file descriptor to modify.
The new file descriptor flags.
Returns success or an error value.
fcntl(2) and F_SETFD therein