Skip to content
Snippets Groups Projects
  • Colin Walters's avatar
    627d4e2f
    fdio: Add glnx_fstatat_allow_noent() · 627d4e2f
    Colin Walters authored
    This is a very common pattern in both ostree/rpm-ostree. Make a better API for
    this. I thought a lot about simply zeroing out `struct stat` but that feels
    dangerous; none of the values have seem obviously `cannot be zero`.
    627d4e2f
    History
    fdio: Add glnx_fstatat_allow_noent()
    Colin Walters authored
    This is a very common pattern in both ostree/rpm-ostree. Make a better API for
    this. I thought a lot about simply zeroing out `struct stat` but that feels
    dangerous; none of the values have seem obviously `cannot be zero`.