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 9a31934 commit b190462Copy full SHA for b190462
libc-test/semver/unix.txt
@@ -453,6 +453,7 @@ accept
453
access
454
addrinfo
455
alarm
456
+aligned_alloc
457
atexit
458
atof
459
atoi
src/unix/mod.rs
@@ -940,6 +940,7 @@ extern "C" {
940
pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long;
941
pub fn pipe(fds: *mut ::c_int) -> ::c_int;
942
pub fn posix_memalign(memptr: *mut *mut ::c_void, align: ::size_t, size: ::size_t) -> ::c_int;
943
+ pub fn aligned_alloc(alignment: ::size_t, size: ::size_t) -> *mut ::c_void;
944
#[cfg_attr(
945
all(target_os = "macos", target_arch = "x86"),
946
link_name = "read$UNIX2003"
0 commit comments