Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CleanSerial
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mart Lubbers
  • CleanSerial
  • Merge requests
  • !1

Fixing termios flags on macOS

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Matheus Andrade requested to merge macOS_termios_fix into master Apr 13, 2018
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Accordinng to http://kirste.userpage.fu-berlin.de/chemnet/use/info/libc/libc_12.html: "CLOCAL If this bit is set, it indicates that the terminal is connected "locally" and that the modem status lines (such as carrier detect) should be ignored. On many systems if this bit is not set and you call open without the O_NONBLOCK flag set, open blocks until a modem connection is established."

Apparently (by testing and from a tip online), macOS is one of those systems.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: macOS_termios_fix