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 @@ -281,6 +281,9 @@ extern {
281
281
link_name = "pause$UNIX2003" ) ]
282
282
pub fn pause ( ) -> :: c_int ;
283
283
pub fn pipe ( fds : * mut :: c_int ) -> :: c_int ;
284
+ pub fn posix_memalign ( memptr : * mut * mut :: c_void ,
285
+ align : :: size_t ,
286
+ size : :: size_t ) -> :: c_int ;
284
287
#[ cfg_attr( all( target_os = "macos" , target_arch = "x86" ) ,
285
288
link_name = "read$UNIX2003" ) ]
286
289
pub fn read ( fd : :: c_int , buf : * mut :: c_void , count : :: size_t )
@@ -608,9 +611,6 @@ extern {
608
611
buf : * mut :: c_char ,
609
612
buflen : :: size_t ,
610
613
result : * mut * mut passwd ) -> :: c_int ;
611
- pub fn posix_memalign ( memptr : * mut * mut :: c_void ,
612
- align : :: size_t ,
613
- size : :: size_t ) -> :: c_int ;
614
614
#[ cfg_attr( target_os = "netbsd" , link_name = "__sigemptyset14" ) ]
615
615
pub fn sigemptyset ( set : * mut sigset_t ) -> :: c_int ;
616
616
#[ cfg_attr( target_os = "netbsd" , link_name = "__sigaddset14" ) ]
You can’t perform that action at this time.
0 commit comments