aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-02-11 15:17:51 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-02-11 15:17:51 +0100
commit89d82f69458f8c54a3b67a97ee8cd66fce14bf18 (patch)
tree6f51eeea166df4e3f4bd9dcc099874d7d9d84551
parent110988742fee2adb81ceb5d2895f26fd0a5aeefe (diff)
downloadslirp-89d82f69458f8c54a3b67a97ee8cd66fce14bf18.zip
slirp-89d82f69458f8c54a3b67a97ee8cd66fce14bf18.tar.gz
slirp-89d82f69458f8c54a3b67a97ee8cd66fce14bf18.tar.bz2
Complete timeout documentation
-rw-r--r--src/libslirp.h2
1 files changed, 1 insertions, 1 deletions
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