Introduce dlog_is_fd_redirected 61/256661/2
authorMichal Bloch <m.bloch@samsung.com>
Thu, 8 Apr 2021 12:09:24 +0000 (14:09 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Fri, 9 Apr 2021 19:41:44 +0000 (21:41 +0200)
commit3be9c6bd2c4a2bd5dba317e032337810d4bac256
tree6c3cc2897c118ae81971a0264f0ab01bce26c394
parent2f053f8b60c0eb1694c45b58d1db808fe77830b6
Introduce dlog_is_fd_redirected

Checks whether given FD is redirected to dlog.

Change-Id: I71bc905d9c377c5ff6791d39955459d41923a29a
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
Makefile.am
include/dlog-redirect-stdout.h
include/logpipe.h
packaging/dlog.spec
src/log-redirect-stdout/lib.c
src/shared/logcommon.c
tests/dlog_test.in
tests/test_libredirect.c [new file with mode: 0644]