- Apr 05, 2016
-
-
A.J. Gardner authored
There are many constants defined by langinfo, but we have the new types, locale_t and nl_item. We also have several functions, not all of which exist for every platform: nl_langinfo nl_langinfo_l newlocale duplocale freelocale uselocale querylocale
-
- Apr 04, 2016
-
-
bors authored
Add RTLD_DEFAULT to more platforms
-
Alex Crichton authored
-
bors authored
Link to libraries when disabling `use_std` This crate currently relies on libraries being linked to come from libstd, but if `use_std` is disabled that's not true! In that case we need to pull in the libraries ourselves. Closes rust-lang/rust#32661
-
Alex Crichton authored
This crate currently relies on libraries being linked to come from libstd, but if `use_std` is disabled that's not true! In that case we need to pull in the libraries ourselves. Closes rust-lang/rust#32661
-
- Apr 03, 2016
-
-
bors authored
On non-musl Linux, strerror_r should be linked to __xpg_strerror_r Currently `libc::strerror_r()` wrongly returns a `c_char` pointer as a large `c_int`. Also exclude `MS_RMT_MASK` from `libc-test`.
-
bors authored
Add several pthread functions for DragonFly/FreeBSD These are needed in order to fix/implement the guard page code of Rust for DragonFly.
-
bors authored
Add clock_getres(3) and improve clockid_t constants. This is still a draft
-
NODA, Kai authored
It was updated recently, so the test is known to fail depending on the libc version of the test environment. Signed-off-by:
NODA, Kai <nodakai@gmail.com>
-
NODA, Kai authored
Signed-off-by:
NODA, Kai <nodakai@gmail.com>
-
Michael Neumann authored
These are needed in order to fix/implement the guard page code of Rust for DragonFly.
-
NODA, Kai authored
Signed-off-by:
NODA, Kai <nodakai@gmail.com>
-
- Apr 02, 2016
-
-
bors authored
unix: Add openpty(3) and forkpty(3) for non-Apple platforms The functions were added for Apple in #202. Adding them to other platforms was pending an amendment to RFC 1291 to expand the scope of libc to include libutil. The amendment was merged as https://github.com/rust-lang/rfcs/pull/1529
-
Kamal Marhubi authored
The functions were added for Apple in #202. Adding them to other platforms was pending an amendment to RFC 1291 to expand the scope of libc to include libutil. The amendment was merged as https://github.com/rust-lang/rfcs/pull/1529
-
- Mar 31, 2016
-
-
bors authored
Add lconv type, and locale support for UNIX We have lconv struct, setlocale(), and localeconv(). Constants live under notbsd for now.
-
A.J. Gardner authored
-
A.J. Gardner authored
Linux-likes have more locale categories than the BSDs (except for musl). We define the common set of categories at the src/unix/notbsd/mod.rs level, and leave the rest to the platform-specific modules.
-
A.J. Gardner authored
The BSDs seem to have more peculiarities than the notbsds
-
A.J. Gardner authored
-
A.J. Gardner authored
-
bors authored
Bump to 0.2.9
-
Alex Crichton authored
-
- Mar 30, 2016
-
-
bors authored
Swap header/footer... dunno how they got that way? Apparently they were swapped accidentally already! Closes #240
-
A.J. Gardner authored
-
A.J. Gardner authored
Lint caught a long line. This should fix the CI failure.
-
A.J. Gardner authored
We have lconv struct, setlocale(), and localeconv(). Constants live under notbsd for now.
-
- Mar 28, 2016
-
-
Alex Crichton authored
Apparently they were swapped accidentally already! Closes #240
-
- Mar 18, 2016
-
-
bors authored
linux: Add missing Linux-specific fcntls Also move F_DUPFD_CLOEXEC up a level as it is available on Android.
-
Kamal Marhubi authored
Also move F_DUPFD_CLOEXEC up a level as it is available on Android. This commit leaves file sealing related fcntls and bitflag constants out, as they are defined in `linux/fcntl.h` rather than `fcntl.h`. They can be included once an approach for verification has been figured out. See #235 for more detail.
-
- Mar 15, 2016
-
-
bors authored
linux: Move some MS_flags for mount(2) up These flags are available on Android.
-
bors authored
apple: Add TIOC* constants From `sys/ioctl.h`. Extracted on OS X 10.11.3.
-
bors authored
Update winapi
-
Alex Crichton authored
-
- Mar 14, 2016
-
-
Kamal Marhubi authored
These flags are available on Android.
-
Kamal Marhubi authored
They have different types and should be visually separated for ease of reading.
-
- Mar 13, 2016
-
-
bors authored
linux: Move namespace clone flags up one level The flags are available in Android, and should be defined higher up.
-
Kamal Marhubi authored
The flags are available in Android, and should be defined higher up.
-
Martin Wernstål authored
-
Martin Wernstål authored
From sys/ioctl.h
-
- Mar 12, 2016
-
-
bors authored
Pull sockaddr_nl up a layer as it is present for Android The addition of sockaddr_nl seems to be a fairly recent addition to bionic, although it would appear that its lack of presence in previous versions is more of an oversight than anything else. https://github.com/android/platform_bionic/blob/831c8a52498d3c7be204a00847275f6e9163626f/libc/kernel/uapi/linux/netlink.h#L54
-