Skip to content

Conversation

xingxue-ibm
Copy link
Contributor

On AIX, the signature of cfmakeraw() differs in that its return type is int instead of void. When the argument termios_p is NULL, it returns -1. Otherwise, it returns 0.

int cfmakeraw(struct termios *termios_p);

We believe it is safe to ignore the return value and have modified the cfmakeraw() wrapper to account for this difference.

@sunfishcode sunfishcode merged commit abb4ca0 into bytecodealliance:main Aug 25, 2025
49 of 51 checks passed
@sunfishcode
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants