File tree 3 files changed +12
-6
lines changed
3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -632,6 +632,12 @@ extern "C" {
632
632
) -> :: c_int ;
633
633
634
634
pub fn daemon ( nochdir : :: c_int , noclose : :: c_int ) -> :: c_int ;
635
+ pub fn accept4 (
636
+ s : :: c_int ,
637
+ addr : * mut :: sockaddr ,
638
+ addrlen : * mut :: socklen_t ,
639
+ flags : :: c_int ,
640
+ ) -> :: c_int ;
635
641
pub fn mincore (
636
642
addr : * mut :: c_void ,
637
643
len : :: size_t ,
Original file line number Diff line number Diff line change @@ -1393,12 +1393,6 @@ extern "C" {
1393
1393
tp : * const :: timeval ,
1394
1394
tz : * const :: timezone ,
1395
1395
) -> :: c_int ;
1396
- pub fn accept4 (
1397
- s : :: c_int ,
1398
- addr : * mut :: sockaddr ,
1399
- addrlen : * mut :: socklen_t ,
1400
- flags : :: c_int ,
1401
- ) -> :: c_int ;
1402
1396
pub fn execvpe (
1403
1397
file : * const :: c_char ,
1404
1398
argv : * const * const :: c_char ,
Original file line number Diff line number Diff line change @@ -2347,6 +2347,12 @@ extern "C" {
2347
2347
msg : * mut :: msghdr ,
2348
2348
flags : :: c_int ,
2349
2349
) -> :: ssize_t ;
2350
+ pub fn accept4 (
2351
+ fd : :: c_int ,
2352
+ address : * mut sockaddr ,
2353
+ address_len : * mut socklen_t ,
2354
+ flags : :: c_int
2355
+ ) -> :: c_int ;
2350
2356
2351
2357
pub fn mq_open ( name : * const :: c_char , oflag : :: c_int , ...) -> :: mqd_t ;
2352
2358
pub fn mq_close ( mqd : :: mqd_t ) -> :: c_int ;
You can’t perform that action at this time.
0 commit comments