summaryrefslogtreecommitdiff
path: root/libm/k_cos.c
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-07-28 09:08:34 -0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-08-02 14:04:17 +0200
commitf22cca4722fa66e424562e69f4afa2bca0af871d (patch)
treeb14cbeb2e74a714202bd7f8796cd7e14c3f34982 /libm/k_cos.c
parentf2a8f24fbaec0b242d9ef3fa3347efc263f92ee2 (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 'libm/k_cos.c')
0 files changed, 0 insertions, 0 deletions