crayzeewulf / libserial

Serial Port Programming in C++
BSD 3-Clause "New" or "Revised" License
398 stars 141 forks source link

[Support] Required code addition Mac OS X [sf#5] #52

Closed crayzeewulf closed 9 years ago

crayzeewulf commented 9 years ago

*Reported by anonymous on 2010-11-18 19:09 UTC** On Mac OS X 10.6.5, unless "tcgetattr(mFileDescriptor, &tio);" the following is added to SerialStreamBuf::SetParametersToDefault() {

just after the declaration: struct termios tio;

the tcsetattr() function will fail .

crayzeewulf commented 9 years ago

Commented by crayzeewulf on 2011-01-07 23:49 UTC This has been fixed. The latest code is in the SVN repository now.

crayzeewulf commented 9 years ago

Updated by crayzeewulf on 2011-01-07 23:49 UTC