From 36f106056069d545b63041533ba22c391b05e119 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 17 May 2024 14:59:20 +0200 Subject: socket: remove wrong documentation fragment Remove an accidentially copy-pasted jsdoc comment block. Signed-off-by: Jo-Philipp Wich --- lib/socket.c | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/lib/socket.c b/lib/socket.c index 226ba28..5ef3a1e 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -2568,37 +2568,6 @@ uc_socket_listen(uc_vm_t *vm, size_t nargs) * sock.error(); */ -/** - * 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. * -- cgit v1.2.3