zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 0fc97015e2898bb2ae9de04dd087d5d3220faf71 (tree)
parent 48f5b21e7cb1da7593a780ffb59394ce18d1113d
Author: Alva <alva@skogen.is>
Date:   Tue,  8 Oct 2019 13:44:08 +0200

Correct std.os.connect_async docs

Diffstat:
Mlib/std/os.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/os.zig b/lib/std/os.zig @@ -1712,7 +1712,7 @@ pub fn connect(sockfd: i32, sock_addr: *sockaddr, len: socklen_t) ConnectError!v } } -/// Same as `connect` except it is for blocking socket file descriptors. +/// Same as `connect` except it is for non-blocking socket file descriptors. /// It expects to receive EINPROGRESS`. pub fn connect_async(sockfd: i32, sock_addr: *sockaddr, len: socklen_t) ConnectError!void { while (true) {