Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

int ser_open ( hamlib_port_t p  ) 

Open serial port.

Parameters:
p 
Returns:
fd

Definition at line 389 of file serial.c.

References hamlib_port_t::fd, and hamlib_port_t::pathname.

Referenced by rig_open().

{
      return (p->fd = OPEN(p->pathname, O_RDWR | O_NOCTTY | O_NDELAY));
}


Generated by  Doxygen 1.6.0   Back to index