Searched refs:IS_CONSOLE (Results 1 - 4 of 4) sorted by relevance

/freebsd-12-stable/sys/contrib/zstd/programs/
H A Dplatform.h101 # define IS_CONSOLE(stdStream) isatty(fileno(stdStream)) macro
104 # define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream)) macro
109 static __inline int IS_CONSOLE(FILE* stdStream) { function
114 # define IS_CONSOLE(stdStream) 0 macro
H A Dzstdcli.c28 #include "platform.h" /* IS_CONSOLE, PLATFORM_POSIX_VERSION */
841 if (!strcmp(filenameTable[0], stdinmark) && IS_CONSOLE(stdin) )
844 && IS_CONSOLE(stdout)
/freebsd-12-stable/sys/contrib/zstd/contrib/pzstd/
H A DOptions.cpp24 #define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream)) macro
28 #define IS_CONSOLE(stdStream) isatty(fileno(stdStream)) macro
30 #define IS_CONSOLE(stdStream) 0 macro
382 if (inputFiles[0] == kStdIn && IS_CONSOLE(stdin)) {
387 if (outputFile == "-" && IS_CONSOLE(stdout) && !(forceStdout && decompress)) {
/freebsd-12-stable/usr.sbin/dconschat/
H A Ddconschat.c88 #define IS_CONSOLE(p) ((p)->port == DCONS_CON) macro
433 if (IS_CONSOLE(&dc->port[j]) && new &&
715 if (IS_CONSOLE(p) && (dc->flags & F_TELNET) != 0) {
754 if (IS_CONSOLE(p)) {

Completed in 105 milliseconds