Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
925707c0
Commit
925707c0
authored
12 years ago
by
Sara Golemon
Committed by
Daniel Stenberg
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Manpage for curl_multi_wait().
parent
de24d7bd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/libcurl/Makefile.am
+4
-4
4 additions, 4 deletions
docs/libcurl/Makefile.am
docs/libcurl/curl_multi_wait.3
+68
-0
68 additions, 0 deletions
docs/libcurl/curl_multi_wait.3
with
72 additions
and
4 deletions
docs/libcurl/Makefile.am
+
4
−
4
View file @
925707c0
...
...
@@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
# Copyright (C) 1998 - 201
1
, Daniel Stenberg, <daniel@haxx.se>, et al.
# Copyright (C) 1998 - 201
2
, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
...
...
@@ -38,7 +38,7 @@ man_MANS = curl_easy_cleanup.3 curl_easy_getinfo.3 curl_easy_init.3 \
curl_easy_unescape.3 curl_multi_setopt.3 curl_multi_socket.3
\
curl_multi_timeout.3 curl_formget.3 curl_multi_assign.3
\
curl_easy_pause.3 curl_easy_recv.3 curl_easy_send.3
\
curl_multi_socket_action.3
curl_multi_socket_action.3
curl_multi_wait.3
HTMLPAGES
=
curl_easy_cleanup.html curl_easy_getinfo.html
\
curl_easy_init.html curl_easy_perform.html curl_easy_setopt.html
\
...
...
@@ -58,7 +58,7 @@ HTMLPAGES = curl_easy_cleanup.html curl_easy_getinfo.html \
curl_easy_unescape.html curl_multi_setopt.html curl_multi_socket.html
\
curl_multi_timeout.html curl_formget.html curl_multi_assign.html
\
curl_easy_pause.html curl_easy_recv.html curl_easy_send.html
\
curl_multi_socket_action.html
curl_multi_socket_action.html
curl_multi_wait.html
PDFPAGES
=
curl_easy_cleanup.pdf curl_easy_getinfo.pdf
\
curl_easy_init.pdf curl_easy_perform.pdf curl_easy_setopt.pdf
\
...
...
@@ -77,7 +77,7 @@ PDFPAGES = curl_easy_cleanup.pdf curl_easy_getinfo.pdf \
curl_easy_escape.pdf curl_easy_unescape.pdf curl_multi_setopt.pdf
\
curl_multi_socket.pdf curl_multi_timeout.pdf curl_formget.pdf
\
curl_multi_assign.pdf curl_easy_pause.pdf curl_easy_recv.pdf
\
curl_easy_send.pdf curl_multi_socket_action.pdf
curl_easy_send.pdf curl_multi_socket_action.pdf
curl_multi_wait.pdf
CLEANFILES
=
$(
HTMLPAGES
)
$(
PDFPAGES
)
...
...
This diff is collapsed.
Click to expand it.
docs/libcurl/curl_multi_wait.3
0 → 100644
+
68
−
0
View file @
925707c0
.\" **************************************************************************
.\" * _ _ ____ _
.\" * Project ___| | | | _ \| |
.\" * / __| | | | |_) | |
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
.\" * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
.\" * are also available at http://curl.haxx.se/docs/copyright.html.
.\" *
.\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
.\" * copies of the Software, and permit persons to whom the Software is
.\" * furnished to do so, under the terms of the COPYING file.
.\" *
.\" * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
.\" * KIND, either express or implied.
.\" *
.\" **************************************************************************
.TH curl_multi_wait 3 "12 Jul 2012" "libcurl 7.28.0" "libcurl Manual"
.SH NAME
curl_multi_select - polls on all easy handles in a multi handle
.SH SYNOPSIS
.nf
#include <curl/curl.h>
CURLMcode curl_multi_wait(CURLM *multi_handle,
struct curl_waitfd extra_fds[],
unsigned int extra_nfds,
int timeout_ms);
.ad
.SH DESCRIPTION
This function polls on all file descriptors used by the curl easy handles
contained in the given multi handle set. It will block until activity is
detected on at least one of the handles or \fItimeout_ms\fP has passed.
The calling application may pass additional curl_waitfd structures which are
similar to \fIpoll(2)\fP's pollfd structure to be waited on in the same call.
This function is encouraged to be used instead of select(3) when using the
multi interface to allow applications to easier circumvent the common problem
with 1024 maximum file descriptors.
.SH curl_waitfd
.nf
struct curl_waitfd {
curl_socket_t fd;
short events;
short revents;
};
.fi
.IP CURL_WAIT_POLLIN
Bit flag to curl_waitfd.events indicating the socket should poll on read
events such as new data received.
.IP CURL_WAIT_POLLPRI
Bit flag to curl_waitfd.events indicating the socket should poll on high
priority read events such as out of band data.
.IP CURL_WAIT_POLLOUT
Bit flag to curl_waitfd.events indicating the socket should poll on write
events such as the socket being clear to write without blocking.
.SH RETURN VALUE
CURLMcode type, general libcurl multi interface error code. See
\fIlibcurl-errors(3)\fP
.SH AVAILABILITY
This function was added in libcurl 7.28.0
.SH "SEE ALSO"
.BR curl_multi_fdset "(3), " curl_multi_perform "(3)"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment