forked from cory/tildefriends
		
	libuv 1.47.0.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4615 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
		
							
								
								
									
										2
									
								
								deps/libuv/docs/src/conf.py
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								deps/libuv/docs/src/conf.py
									
									
									
									
										vendored
									
									
								
							| @@ -118,7 +118,7 @@ pygments_style = 'sphinx' | ||||
|  | ||||
| # The theme to use for HTML and HTML Help pages.  See the documentation for | ||||
| # a list of builtin themes. | ||||
| html_theme = 'nature' | ||||
| html_theme = 'furo' | ||||
|  | ||||
| # Theme options are theme-specific and customize the look and feel of a theme | ||||
| # further.  For a list of options available for each theme, see the | ||||
|   | ||||
							
								
								
									
										8
									
								
								deps/libuv/docs/src/fs_event.rst
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								deps/libuv/docs/src/fs_event.rst
									
									
									
									
										vendored
									
									
								
							| @@ -39,8 +39,12 @@ Data types | ||||
| .. c:type:: void (*uv_fs_event_cb)(uv_fs_event_t* handle, const char* filename, int events, int status) | ||||
|  | ||||
|     Callback passed to :c:func:`uv_fs_event_start` which will be called repeatedly | ||||
|     after the handle is started. If the handle was started with a directory the | ||||
|     `filename` parameter will be a relative path to a file contained in the directory. | ||||
|     after the handle is started. | ||||
|  | ||||
|     If the handle was started with a directory the `filename` parameter will | ||||
|     be a relative path to a file contained in the directory, or `NULL` if the | ||||
|     file name cannot be determined. | ||||
|  | ||||
|     The `events` parameter is an ORed mask of :c:type:`uv_fs_event` elements. | ||||
|  | ||||
| .. c:type:: uv_fs_event | ||||
|   | ||||
							
								
								
									
										5
									
								
								deps/libuv/docs/src/guide/processes.rst
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								deps/libuv/docs/src/guide/processes.rst
									
									
									
									
										vendored
									
									
								
							| @@ -53,6 +53,8 @@ ID of the child process. | ||||
| The exit callback will be invoked with the *exit status* and the type of *signal* | ||||
| which caused the exit. | ||||
|  | ||||
| Note that it is important **not** to call ``uv_close`` before the exit callback. | ||||
|  | ||||
| .. rubric:: spawn/main.c | ||||
| .. literalinclude:: ../../code/spawn/main.c | ||||
|     :language: c | ||||
| @@ -126,7 +128,8 @@ of ``uv_kill`` is:: | ||||
|  | ||||
| For processes started using libuv, you may use ``uv_process_kill`` instead, | ||||
| which accepts the ``uv_process_t`` watcher as the first argument, rather than | ||||
| the pid. In this case, **remember to call** ``uv_close`` on the watcher. | ||||
| the pid. In this case, **remember to call** ``uv_close`` on the watcher _after_ | ||||
| the exit callback has been called. | ||||
|  | ||||
| Signals | ||||
| ------- | ||||
|   | ||||
							
								
								
									
										2
									
								
								deps/libuv/docs/src/guide/utilities.rst
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								deps/libuv/docs/src/guide/utilities.rst
									
									
									
									
										vendored
									
									
								
							| @@ -363,7 +363,7 @@ to get the error message. | ||||
| argument. ``init_plugin_function`` is a function pointer to the sort of | ||||
| function we are looking for in the application's plugins. | ||||
|  | ||||
| .. _shared libraries: https://en.wikipedia.org/wiki/Shared_library#Shared_libraries | ||||
| .. _shared libraries: https://en.wikipedia.org/wiki/Shared_library | ||||
|  | ||||
| TTY | ||||
| --- | ||||
|   | ||||
							
								
								
									
										47
									
								
								deps/libuv/docs/src/misc.rst
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										47
									
								
								deps/libuv/docs/src/misc.rst
									
									
									
									
										vendored
									
									
								
							| @@ -839,3 +839,50 @@ API | ||||
|     Causes the calling thread to sleep for `msec` milliseconds. | ||||
|  | ||||
|     .. versionadded:: 1.34.0 | ||||
|  | ||||
| String manipulation functions | ||||
| ----------------------------- | ||||
|  | ||||
| These string utilities are needed internally for dealing with Windows, and are | ||||
| exported to allow clients to work uniformly with this data when the libuv API | ||||
| is not complete. | ||||
|  | ||||
| .. c:function:: size_t uv_utf16_length_as_wtf8(const uint16_t* utf16, ssize_t utf16_len) | ||||
|  | ||||
|     Get the length of a UTF-16 (or UCS-2) `utf16` value after converting it to | ||||
|     WTF-8. If `utf16` is NUL terminated, `utf16_len` can be set to -1, | ||||
|     otherwise it must be specified. | ||||
|  | ||||
|     .. versionadded:: 1.47.0 | ||||
|  | ||||
| .. c:function:: int uv_utf16_to_wtf8(const uint16_t* utf16, ssize_t utf16_len, char** wtf8_ptr, size_t* wtf8_len_ptr) | ||||
|  | ||||
|     Convert UTF-16 (or UCS-2) data in `utf16` to WTF-8 data in `*wtf8_ptr`. The | ||||
|     `utf16_len` count (in characters) gives the length of `utf16`. If `utf16` | ||||
|     is NUL terminated, `utf16_len` can be set to -1, otherwise it must be | ||||
|     specified. If `wtf8_ptr` is `NULL`, no result will be computed, but the | ||||
|     length (equal to `uv_utf16_length_as_wtf8`) will be stored in `wtf8_ptr`. | ||||
|     If `*wtf8_ptr` is `NULL`, space for the conversion will be allocated and | ||||
|     returned in `wtf8_ptr` and the length will be returned in `wtf8_len_ptr`. | ||||
|     Otherwise, the length of `*wtf8_ptr` must be passed in `wtf8_len_ptr`. The | ||||
|     `wtf8_ptr` must contain an extra space for an extra NUL after the result. | ||||
|     If the result is truncated, `UV_ENOBUFS` will be returned and | ||||
|     `wtf8_len_ptr` will be the length of the required `wtf8_ptr` to contain the | ||||
|     whole result. | ||||
|  | ||||
|     .. versionadded:: 1.47.0 | ||||
|  | ||||
| .. c:function:: ssize_t uv_wtf8_length_as_utf16(const char* wtf8) | ||||
|  | ||||
|     Get the length in characters of a NUL-terminated WTF-8 `wtf8` value | ||||
|     after converting it to UTF-16 (or UCS-2), including NUL terminator. | ||||
|  | ||||
|     .. versionadded:: 1.47.0 | ||||
|  | ||||
| .. c:function:: void uv_wtf8_to_utf16(const char* utf8, uint16_t* utf16, size_t utf16_len) | ||||
|  | ||||
|     Convert NUL-terminated WTF-8 data in `wtf8` to UTF-16 (or UCS-2) data | ||||
|     in `utf16`. The `utf16_len` count (in characters) must include space | ||||
|     for the NUL terminator. | ||||
|  | ||||
|     .. versionadded:: 1.47.0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user