File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -294,6 +294,9 @@ extern {
294
294
link_name = "pause$UNIX2003" ) ]
295
295
pub fn pause ( ) -> :: c_int ;
296
296
pub fn pipe ( fds : * mut :: c_int ) -> :: c_int ;
297
+ pub fn posix_memalign ( memptr : * mut * mut :: c_void ,
298
+ align : :: size_t ,
299
+ size : :: size_t ) -> :: c_int ;
297
300
#[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
298
301
link_name = "read$UNIX2003" ) ]
299
302
pub fn read ( fd : :: c_int , buf : * mut :: c_void , count : :: size_t )
@@ -624,9 +627,6 @@ extern {
624
627
buf : * mut :: c_char ,
625
628
buflen : :: size_t ,
626
629
result : * mut * mut passwd ) -> :: c_int ;
627
- pub fn posix_memalign ( memptr : * mut * mut :: c_void ,
628
- align : :: size_t ,
629
- size : :: size_t ) -> :: c_int ;
630
630
#[ cfg_attr( target_os = "netbsd" , link_name = "__sigemptyset14" ) ]
631
631
pub fn sigemptyset ( set : * mut sigset_t ) -> :: c_int ;
632
632
#[ cfg_attr( target_os = "netbsd" , link_name = "__sigaddset14" ) ]
You can’t perform that action at this time.
0 commit comments