[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: interacting with serial driver



Well, the case is, i want to do, what "open" or "write" or "read" does at
the lowest level, just above the driver.

Sharad.


On Fri, 9 Jun 2000, Shridhar Daithankar wrote:

+  Simple solution I can guess is 'open("/dev/ttyS0",O_RDONLY);'. Check
+ Syntax. Unless you are seriously interested in handling everything on your
+ own. 
+ 
+ On Fri, 9 Jun 2000, Sharad Joshi wrote:
+ 
+ > Hello folks,
+ > 
+ > Can anyone please tell me how do i send chatacters over a serial line (say
+ > ttyS0). I want to make use of the serial driver (serial.c) functions. But