MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / isatty_

Function isatty_

libraries/AP_Filesystem/AP_Filesystem_FATFS.cpp:50–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48static FAT_FILE *file_table[MAX_FILES];
49
50static bool isatty_(int fileno)
51{
52 if (fileno >= 0 && fileno <= 2) {
53 return true;
54 }
55 return false;
56}
57
58/*
59 allocate a file descriptor

Callers 4

new_file_descriptorFunction · 0.85
free_file_descriptorFunction · 0.85
fileno_to_fatfsFunction · 0.85
lseekMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected