mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Process: Add sys::Process::FileDescriptorHasColors().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160557 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -97,6 +97,10 @@ namespace sys {
|
||||
/// the user rather than being put on a pipe or stored in a file.
|
||||
static bool FileDescriptorIsDisplayed(int fd);
|
||||
|
||||
/// This function determines if the given file descriptor is displayd and
|
||||
/// supports colors.
|
||||
static bool FileDescriptorHasColors(int fd);
|
||||
|
||||
/// This function determines the number of columns in the window
|
||||
/// if standard output is connected to a "tty" or "console"
|
||||
/// window. If standard output is not connected to a tty or
|
||||
|
Reference in New Issue
Block a user