serial-port-is-file-p

serial-port-is-file-p is a compiled Lisp function in `term.el'.

(serial-port-is-file-p)

Guess whether serial ports are files on this system.
Return t if this is a Unix-based system, where serial ports are
files, such as /dev/ttyS0.
Return nil if this is Windows or DOS, where serial ports have
special identifiers such as COM1.