diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2013-07-28 09:08:34 -0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-08-02 14:04:17 +0200 |
commit | f22cca4722fa66e424562e69f4afa2bca0af871d (patch) | |
tree | b14cbeb2e74a714202bd7f8796cd7e14c3f34982 /libc/inet/decodeh.c | |
parent | f2a8f24fbaec0b242d9ef3fa3347efc263f92ee2 (diff) |
libc: add isfdtype()
isfdtype(int fd, int fdtype) check whether a file descriptor fd is
of type fdtype, where the types are defined in stat(2). It is
supported in glibc and BSD, and used by utilities such as acpid.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/decodeh.c')
0 files changed, 0 insertions, 0 deletions