mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
11 lines
164 B
V
11 lines
164 B
V
|
module websocket
|
||
|
|
||
|
// error_code returns the error code
|
||
|
fn error_code() int {
|
||
|
return C.errno
|
||
|
}
|
||
|
|
||
|
const (
|
||
|
error_ewouldblock = C.EWOULDBLOCK // blocking error code
|
||
|
)
|