fn register_files_update(self: *IO_Uring, offset: u32, fds: []const os.fd_t) !void

Updates registered file descriptors.

Updates are applied starting at the provided offset in the original file descriptors slice. There are three kind of updates:

  • turning a sparse entry (where the fd is -1) into a real one
  • removing an existing entry (set the fd to -1)
  • replacing an existing entry with a new fd Adding new file descriptors must be done with register_files.

Parameters

self: *IO_Uring,
offset: u32,
fds: []const os.fd_t,