| ... | ... | @@ -3528,7 +3528,21 @@ pub const itimerspec = switch (native_os) { |
| 3528 | 3528 | }; |
| 3529 | 3529 | pub const msghdr = switch (native_os) { |
| 3530 | 3530 | .linux => linux.msghdr, |
| 3531 | | .openbsd, .emscripten, .dragonfly, .freebsd, .netbsd, .haiku, .solaris, .illumos => extern struct { |
| 3531 | .openbsd, |
| 3532 | .emscripten, |
| 3533 | .dragonfly, |
| 3534 | .freebsd, |
| 3535 | .netbsd, |
| 3536 | .haiku, |
| 3537 | .solaris, |
| 3538 | .illumos, |
| 3539 | .macos, |
| 3540 | .driverkit, |
| 3541 | .ios, |
| 3542 | .tvos, |
| 3543 | .visionos, |
| 3544 | .watchos, |
| 3545 | => extern struct { |
| 3532 | 3546 | /// optional address |
| 3533 | 3547 | name: ?*sockaddr, |
| 3534 | 3548 | /// size of address |
| ... | ... | @@ -3548,7 +3562,21 @@ pub const msghdr = switch (native_os) { |
| 3548 | 3562 | }; |
| 3549 | 3563 | pub const msghdr_const = switch (native_os) { |
| 3550 | 3564 | .linux => linux.msghdr_const, |
| 3551 | | .openbsd, .emscripten, .dragonfly, .freebsd, .netbsd, .haiku, .solaris, .illumos => extern struct { |
| 3565 | .openbsd, |
| 3566 | .emscripten, |
| 3567 | .dragonfly, |
| 3568 | .freebsd, |
| 3569 | .netbsd, |
| 3570 | .haiku, |
| 3571 | .solaris, |
| 3572 | .illumos, |
| 3573 | .macos, |
| 3574 | .driverkit, |
| 3575 | .ios, |
| 3576 | .tvos, |
| 3577 | .visionos, |
| 3578 | .watchos, |
| 3579 | => extern struct { |
| 3552 | 3580 | /// optional address |
| 3553 | 3581 | name: ?*const sockaddr, |
| 3554 | 3582 | /// size of address |