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

Fix #2707: Implement most of POSIX stddef.h #2709

Merged

Conversation

LeeTibbert
Copy link
Contributor

We implement most of POSIX stddef.h. In particular, NULL.

The motivation is to have a single, common NULL for all posixlib files to use.
A number of POSIX .h specifications require that the file define NULL.
Here, the file can refer in a comment to the common stddef.scala.
A slight variance from the standard, but the best than can be done
in economic time.

The offsetof() requirement is not implemented because the
concept does not translate well/easily to Scala Native.

@WojciechMazur WojciechMazur merged commit 024a469 into scala-native:main Jul 5, 2022
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.

None yet

2 participants