Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

termios: add missing VTIME macros on Darwin #13643

Closed
wants to merge 1 commit into from

Conversation

hovsater
Copy link
Contributor

@hovsater hovsater commented Jul 8, 2023

The VMIN macros are already defined, but the VTIME macros are not. The VTIME macro allow you to specify the read timeout before read can return. It complements VMIN.

Edit: Just got informed that the LibC provided by Crystal is for internal purposes and only exposes whatever is needed for the standard library. Closing. 🙂

@hovsater hovsater changed the title Add missing VTIME macros on darwin termios: add missing VTIME macros on Darwin Jul 8, 2023
@hovsater hovsater closed this Jul 8, 2023
@straight-shoota
Copy link
Member

It's certainly a bit confusing. There are plans to move the libc bindings to a private namespace (#13504) to make this more obvious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants