1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/x/websocket/websocket_nix.c.v

11 lines
164 B
V
Raw Normal View History

module websocket
2020-12-02 06:02:53 +03:00
// error_code returns the error code
fn error_code() int {
return C.errno
}
const (
2020-12-02 06:02:53 +03:00
error_ewouldblock = C.EWOULDBLOCK // blocking error code
)