mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Add FreeBSD Accept_Error.Would_Block alias
This commit is contained in:
@@ -105,6 +105,8 @@ Accept_Error :: enum c.int {
|
|||||||
|
|
||||||
// NOTE: This is the same as EWOULDBLOCK.
|
// NOTE: This is the same as EWOULDBLOCK.
|
||||||
No_Connections_Available = cast(c.int)freebsd.Errno.EAGAIN,
|
No_Connections_Available = cast(c.int)freebsd.Errno.EAGAIN,
|
||||||
|
// `Would_Block` alias for `core:net` tests.
|
||||||
|
Would_Block = cast(c.int)freebsd.Errno.EAGAIN,
|
||||||
|
|
||||||
New_Connection_Aborted = cast(c.int)freebsd.Errno.ECONNABORTED,
|
New_Connection_Aborted = cast(c.int)freebsd.Errno.ECONNABORTED,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user