Skip to content

Commit 674aa06

Browse files
committed
feat(abi): add AF_UNSPEC = 0
1 parent 25fa81f commit 674aa06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hermit-abi/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ pub struct timeval {
8686
/// The largest number `rand` will return
8787
pub const RAND_MAX: i32 = 2_147_483_647;
8888

89+
pub const AF_UNSPEC: i32 = 0;
8990
/// Socket address family: IPv4
9091
pub const AF_INET: i32 = 0;
9192
/// Socket address family: IPv6

0 commit comments

Comments
 (0)