delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/09/02:21:31

From: "Rossz Vámos-Wentworth" <rossw AT jps DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: what is the serial device
Date: Wed, 8 Mar 2000 22:20:37 -0800
Lines: 11
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-Mimeole: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 209.239.208.129
X-Original-NNTP-Posting-Host: 209.239.208.129
Message-ID: <38c742da_1@news.jps.net>
X-Trace: 8 Mar 2000 22:21:14 -0800, 209.239.208.129
X-Original-NNTP-Posting-Host: 209.63.224.240
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

What is the string used to open the serial device.  The standard Linux
syntax does not work:

    fd = open("/dev/ttyS0", O_RDWR);

I tried several variations, but get messages such as "not a tty device".

Rossz



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019