util: Add os_same_file_description helper
authorMichel Dänzer <mdaenzer@redhat.com>
Mon, 6 Jan 2020 17:24:52 +0000 (18:24 +0100)
committerMichel Dänzer <michel@daenzer.net>
Thu, 23 Jan 2020 16:39:34 +0000 (17:39 +0100)
commitf76cbc7901f7d500f5a4f74aedfd29970d1efd00
tree0ee857c4cb81541c004ed1e762607f88449b8f04
parentc6468f66c7a47f0e16df2f1200db33eef6d2d1f4
util: Add os_same_file_description helper

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3202>
src/util/os_file.c
src/util/os_file.h