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

Add ioctl constants #123

Merged
merged 1 commit into from
Jan 11, 2016
Merged

Conversation

derekdreery
Copy link
Contributor

Add some constants for ioctl calls.

@semarie
Copy link
Contributor

semarie commented Dec 30, 2015

I don't think the constants are the same for all unix.
For example, under OpenBSD, these constants have differents values.

@derekdreery
Copy link
Contributor Author

Will the ci pick that up?

@derekdreery
Copy link
Contributor Author

The CI has picked it up :)

@derekdreery derekdreery force-pushed the add_ioctl_constants branch 2 times, most recently from 4fc952b to 7527f4b Compare December 31, 2015 12:22
@derekdreery
Copy link
Contributor Author

It seems that android uses int, whereas linux uses unsigned long for the __request in ioctl - so constants need to be different types for android and not android.

@derekdreery
Copy link
Contributor Author

I don't understand the mips error

@alexcrichton
Copy link
Member

Yeah the build failures are unrelated, and the constants for other platforms can be added in time (hard to do so without CI), thanks @derekdreery!

I'll work on merging this with a few others all at once

@derekdreery
Copy link
Contributor Author

:D

@alexcrichton alexcrichton merged commit 0a64d24 into rust-lang:master Jan 11, 2016
@alexcrichton
Copy link
Member

To link things up, landed in #134

danielverkamp pushed a commit to danielverkamp/libc that referenced this pull request Apr 28, 2020
* avx: _mm256_movedup_pd

* avx: _mm256_lddqu_si256

* avx: _mm256_rcp_ps

* avx: _mm256_rsqrt_ps

* avx: _mm256_unpackhi_pd

* avx: _mm256_unpackhi_ps

* avx: _mm256_unpacklo_pd, _mm256_unpacklo_ps

* avx: _mm256_testz_si256

* avx: _mm256_testc_si256

* avx: _mm256_testz_pd

* avx: _mm256_testc_pd

* avx: _mm256_testnzc_pd

* avx: _mm_testz_pd

* avx: _mm_testc_pd

* avx: _mm_testnzc_pd

* avx: _mm256_testz_ps, _mm256_testc_ps, _mm256_testnzc_ps

* avx: _mm_testz_ps, _mm_testc_ps, _mm_testnzc_ps

* avx: _mm256_movemask_pd, _mm256_movemask_ps

* avx: _mm256_setzero_pd, _mm256_setzero_ps

* avx: _mm256_setzero_si256

* avx: _mm256_set_pd, _mm256_set_ps

* avx: _mm256_set_epi8

* avx: _mm256_set_epi16

* avx: _mm256_set_epi32

* avx: _mm256_set_epi64x

* avx: _mm256_setr_pd, _mm256_setr_ps

* avx: _mm256_setr_epi8

* avx: _mm256_setr_epi16

* avx: _mm256_setr_epi32, _mm256_setr_epi64x

* avx: add missing assert_instr

* avx: _mm256_set1_pd

* avx: _mm256_set1_ps

* avx: _mm256_set1_epi8

* avx: _mm256_set1_epi16, _mm256_set1_epi32

* avx: _mm256_set1_epi64x

* avx: _mm256_castpd_si256, _mm256_castsi256_pd, _mm256_castps256_ps128, _mm256_castpd256_pd128, _mm256_castsi256_si128

* avx: remove assert_instr failing
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

3 participants