From 89d82f69458f8c54a3b67a97ee8cd66fce14bf18 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 11 Feb 2021 15:17:51 +0100 Subject: Complete timeout documentation --- src/libslirp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslirp.h b/src/libslirp.h index 8862259..1578e2d 100644 --- a/src/libslirp.h +++ b/src/libslirp.h @@ -138,7 +138,7 @@ Slirp *slirp_init(int restricted, bool in_enabled, struct in_addr vnetwork, void slirp_cleanup(Slirp *slirp); /* This is called by the application when it is about to sleep through poll(). - * *timeout is set to the amount of virtual time that the application intends to + * *timeout is set to the amount of virtual time (in ms) that the application intends to * wait (UINT32_MAX if infinite). slirp_pollfds_fill updates it according to * e.g. TCP timers, so the application knows it should sleep a smaller amount of * time. slirp_pollfds_fill calls add_poll for each file descriptor -- cgit v1.1