We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509d9b3 commit 3ee1533Copy full SHA for 3ee1533
libc-test/semver/unix.txt
@@ -452,6 +452,7 @@ accept
452
access
453
addrinfo
454
alarm
455
+aligned_alloc
456
atexit
457
atof
458
atoi
src/unix/mod.rs
@@ -896,6 +896,7 @@ extern "C" {
896
pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long;
897
pub fn pipe(fds: *mut ::c_int) -> ::c_int;
898
pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int;
899
+ pub fn aligned_alloc(alignment: ::size_t, size: ::size_t) -> *mut ::c_void;
900
#[cfg_attr(
901
all(target_os = "macos", target_arch = "x86"),
902
link_name = "read$UNIX2003"
0 commit comments