Correct std.os.connect_async docs

This commit is contained in:
Alva 2019-10-08 13:44:08 +02:00 committed by Andrew Kelley
parent 48f5b21e7c
commit 0fc97015e2

View File

@ -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) {