summaryrefslogtreecommitdiff
path: root/glnx-local-alloc.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-01-01 17:26:12 -0500
committerColin Walters <walters@verbum.org>2016-01-02 19:42:53 -0500
commit91e060699f5559c49335ce19f4b23ba70dfd6bb3 (patch)
tree78dcfe4ef90591870d54a7a92b905f5fc6872368 /glnx-local-alloc.c
parente7f7081054311670411b8ad34f144c99822538c1 (diff)
downloadlibglnx-91e060699f5559c49335ce19f4b23ba70dfd6bb3.tar.gz
dirfd: Add a public API to ensure a filled dtype
It's quite common to iterate over a directory recursively, only caring about the file type, but not other bits returned by `stat()`. Good file systems fill in `dt_type`, but not all do. This function papers over that in userspace conveniently.
Diffstat (limited to 'glnx-local-alloc.c')
0 files changed, 0 insertions, 0 deletions