Skip to content

Commit a66d336

Browse files
committed
doc
1 parent 052deae commit a66d336

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

+stdlib/is_char_device.m

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
%
33
% e.g. NUL, /dev/null
44
% false if file does not exist
5+
%
6+
% Windows: Console handles
7+
% CONIN$, CONOUT$, STDIN, STDOUT, STDERR are not detected. Only NUL is detected.
8+
% in our C-API-based Ffilesystem library, we use GetFileType() with CreateFile() to
9+
% detect those handles successfully, but they don't work here.
10+
%
11+
% Ref: https://learn.microsoft.com/en-us/windows/console/console-handles
12+
513

614
function ok = is_char_device(file, method)
715
arguments

0 commit comments

Comments
 (0)