crayzeewulf / libserial

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

Fix for #161. #166

Closed crayzeewulf closed 4 years ago

crayzeewulf commented 4 years ago

We should use errno and std::streerror() when errno is expected to be set by a recent call. In other case we need to use a custom error message. This should fix #161.