Skip to main content

SYS_UNLINKAT

Constant SYS_UNLINKAT 

Source
pub const SYS_UNLINKAT: usize = 464; // 464usize
Expand description

Delete a file relative to a directory FD.

  • dirfd: directory file descriptor (or AT_FDCWD)
  • path_ptr: pointer to the file path
  • path_len: length of the path
  • flags: flags (AT_REMOVEDIR to remove a directory instead of a file)