diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-05-17 14:59:20 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-05-17 15:31:56 +0200 |
commit | 36f106056069d545b63041533ba22c391b05e119 (patch) | |
tree | 81df4b6d2c77cefd944d3c7ba97270a069a830a2 /lib | |
parent | 9cd88751a4c6e29afcbaba82a72f775e57638def (diff) |
socket: remove wrong documentation fragment
Remove an accidentially copy-pasted jsdoc comment block.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/socket.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/socket.c b/lib/socket.c index 226ba28..5ef3a1e 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -2569,37 +2569,6 @@ uc_socket_listen(uc_vm_t *vm, size_t nargs) */ /** - * Creates a socket and returns its hand - * - * The handle will be connected to the process stdin or stdout, depending on the - * value of the mode argument. - * - * The mode argument may be either "r" to open the process for reading (connect - * to its stdin) or "w" to open the process for writing (connect to its stdout). - * - * The mode character "r" or "w" may be optionally followed by "e" to apply the - * FD_CLOEXEC flag onto the open descriptor. - * - * Returns a process handle referring to the executed process. - * - * Returns `null` if an error occurred. - * - * @function module:fs#popen - * - * @param {string} command - * The command to be executed. - * - * @param {string} [mode="r"] - * The open mode of the process handle. - * - * @returns {?module:fs.proc} - * - * @example - * // Open a process - * const process = popen('command', 'r'); - */ - -/** * Creates a network socket instance. * * This function creates a new network socket with the specified domain and |