diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-12-07 10:52:39 -0500 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-12-08 14:27:50 -0500 |
commit | f726f119740373a01bef6e26e5c1f02dd277033f (patch) | |
tree | c86e6167c79cf6289258f423ec16341932ed9e69 /main/xmldoc.c | |
parent | 54a86779a3d1cc2a1c859d76180f155865713bb5 (diff) |
utils: Add convenience function for setting fd flags
There are many places in the code base where we ignore the return value
of fcntl() when getting/setting file descriptior flags. This patch
introduces a convenience function that allows setting or clearing file
descriptor flags and will also log an error on failure for later
analysis.
Change-Id: I8b81901e1b1bd537ca632567cdb408931c6eded7
Diffstat (limited to 'main/xmldoc.c')
0 files changed, 0 insertions, 0 deletions