Home
last modified time | relevance | path

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

/freebsd-12.1/sys/contrib/zstd/programs/
H A Dplatform.h101 # define IS_CONSOLE(stdStream) isatty(fileno(stdStream)) macro
104 # define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream))
109 static __inline int IS_CONSOLE(FILE* stdStream) {
114 # define IS_CONSOLE(stdStream) 0
H A Dzstdcli.c841 if (!strcmp(filenameTable[0], stdinmark) && IS_CONSOLE(stdin) ) in main()
844 && IS_CONSOLE(stdout) in main()
/freebsd-12.1/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)) { in parse()
387 if (outputFile == "-" && IS_CONSOLE(stdout) && !(forceStdout && decompress)) { in parse()
/freebsd-12.1/usr.sbin/dconschat/
H A Ddconschat.c88 #define IS_CONSOLE(p) ((p)->port == DCONS_CON) macro
433 if (IS_CONSOLE(&dc->port[j]) && new && in dconschat_fetch_header()
715 if (IS_CONSOLE(p) && (dc->flags & F_TELNET) != 0) { in dconschat_accept_socket()
754 if (IS_CONSOLE(p)) { in dconschat_read_filter()