Home
last modified time | relevance | path

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

/external/lz4/programs/
Dplatform.h108 # define IS_CONSOLE(stdStream) isatty(fileno(stdStream)) macro
111 # define IS_CONSOLE(stdStream) _isatty(_fileno(stdStream))
113 # define IS_CONSOLE(stdStream) 0
Dlz4cli.c547 if (!strcmp(input_filename, stdinmark) && IS_CONSOLE(stdin) ) { in main()
557 …if (!IS_CONSOLE(stdout)) { output_filename=stdoutmark; break; } /* Default to stdout whenever po… in main()
593 if (!strcmp(output_filename,stdoutmark) && IS_CONSOLE(stdout) && !forceStdout) { in main()