- Aug 24, 2020
-
-
Chuck Musser authored
-
- Aug 23, 2020
-
-
Chuck Musser authored
Expose __errno_location() (introduced in DragonFlyBSD 5.8), which returns the current thread's errno value. This is similar to Linux and avoids having a separate module that defines both errno (which depends on the thread_local feature) and an __error() function.
-
- Aug 22, 2020
-
-
Daniil Bondarev authored
Previously clock_getcpuclockid was enabled only on linux, with this change it is enabled on all linux_like and freebsdlike.
-
- Jul 06, 2020
-
-
Greg V authored
Wide chars are unsigned when normal chars are
-
- May 28, 2020
-
-
Yuki Okushi authored
-
- Feb 19, 2020
-
-
Vickenty Fesunov authored
memmem is a non-standard extension, first added in GNU libc and later ported to other systems. Support for it is non-uniform, thus it was only added to platforms that seem to support it.
-
- Feb 12, 2020
-
-
Vickenty Fesunov authored
This triggers a warning on a recent nightly, which in turn breaks CI due to `#![deny(warnings)]` in libc-test/build.rs
-
- Sep 12, 2019
-
-
gnzlbg authored
-
- Sep 02, 2019
-
-
Luke Petre authored
-
Alan Somers authored
This constant is not stable across OS versions, so it cannot be used in any backwards- or forwards- compatible way. It's typically used to size arrays in the kernel and in debugging utilities that are closely tied to the OS version. Since libc is ignorant about OS versions, we shouldn't even be defining it.
-
- Sep 01, 2019
-
-
Luca Bruno authored
This adds a few missing constants from DragonflyBSD `utmpx.h`. Ref: http://gitweb.dragonflybsd.org/dragonfly.git/blob/HEAD:/include/utmpx.h
-
- Jul 11, 2019
-
-
Joe Richey authored
-
Joe Richey authored
-
- Jul 05, 2019
-
-
Bryant Mairs authored
These constants have already been deprecated for a few releases with a deprecation notice, so they can finally be removed. Closes rust-lang/libc#665
-
- Jun 10, 2019
-
-
Bryant Mairs authored
sigevent structs on most platforms have padding or unused fields. Rather than display those in the Debug impl by deriving it, manually implement all extra_traits instead ignoring those fields.
-
- May 29, 2019
- May 24, 2019
-
-
gnzlbg authored
This commits adds a second FreeBSD 12 build job, and splits the implementation of the FreeBSD module into two modules, one for FreeBSD 11, and one for FreeBSD 12. The FreeBSD 11 module is compiled always by default, and is mostly forward compatible with FreeBSD 12 systems. The FreeBSD 12 module is only built for now in libc's CI, and uses FreeBSD 12 data types and APIs, linking to symbols that are only available in FreeBSD 12. Basically, when LIBC_CI env variable is defined, and the host system is a FreeBSD 12 system, then the FreeBSD 12 module is automatically built and tested. Conditional compilation is done using a `cfg(freebsd12)` flag. This commit also re-enables many tests, and documents why some remain disabled.
-
- Mar 27, 2019
-
-
Torbjørn Birch Moltu authored
-
- Feb 23, 2019
-
-
Bryant Mairs authored
-
- Feb 20, 2019
-
-
gnzlbg authored
-
- Feb 13, 2019
-
-
gnzlbg authored
-
- Feb 03, 2019
-
-
Bryant Mairs authored
-
Bryant Mairs authored
This was not compile-tested on all platforms, but instead all `pub enum` types had a `Debug` impl derived for them.
-
- Feb 02, 2019
-
-
MikaelUrankar authored
-
- Jan 22, 2019
-
-
Your Name authored
dragonflybsd still uses c_char [2] [1] https://svnweb.freebsd.org/base/releng/11.2/sys/sys/signal.h?revision=334459&view=markup#l438 [2] https://github.com/DragonFlyBSD/DragonFlyBSD/blob/master/sys/sys/signal.h#L339
-
- Jan 16, 2019
-
-
Alan Somers authored
PR #1098 added the CMSG_DATA(3) family of functions into libc. Because they're defined as macros in C, they had to be rewritten as Rust functions for libc. Also, they can't be tested in CI for the same reason. But that PR erroneously used the same definitions in BSD as in Linux. This commit corrects the definitions for OSX, FreeBSD, DragonflyBSD, OpenBSD, and NetBSD. I renamed a few variables and collapsed a few macros in order to combine the definitions where possible. Fixes #1210
-
- Jan 03, 2019
-
-
Alan Somers authored
On FreeBSD, uname is an inline function. The uname that is present in libc.so is for FreeBSD 1.0 compatibility. It expects a buffer of a different size. Fixes #1190 Reported-by: Alex Zepeda
-
- Dec 02, 2018
-
-
Levente Kurusa authored
These errno's are defined in <sys/errno.h> on DragonFlyBSD. Signed-off-by:
Levente Kurusa <lkurusa@acm.org>
-
- Nov 27, 2018
-
-
Fensteer authored
-
- Nov 20, 2018
-
-
Alan Somers authored
-
- Oct 06, 2018
-
-
xd009642 authored
* Added ptrace and constants for all freebsdlike and netbsdlike OSs
-
- Jul 16, 2018
-
-
alesharik authored
-
- Jan 23, 2018
-
-
Greg V authored
-
- Dec 16, 2017
-
-
Alan Somers authored
Note that OpenBSD and OSX do not support POSIX message queues.
-
- Dec 12, 2017
-
-
luozijun authored
-
- Nov 17, 2017
-
-
Michael Neumann authored
-
Michael Neumann authored
-
- Nov 09, 2017
-
-
luozijun authored
-