summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libsocket.tex2
-rw-r--r--Doc/libsocket.tex2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libsocket.tex b/Doc/lib/libsocket.tex
index 8f6df69..8dc7acf 100644
--- a/Doc/lib/libsocket.tex
+++ b/Doc/lib/libsocket.tex
@@ -215,7 +215,7 @@ Connect to a remote socket at \var{address}.
\end{funcdesc}
\begin{funcdesc}{connect_ex}{address}
-Likecode{connect(\var{address})}, but return an error indicator
+Like \code{connect(\var{address})}, but return an error indicator
instead of raising an exception. The error indicator is 0 if the
operation succeeded, otherwise the value of the \code{errno}
variable. This is useful e.g. for asynchronous connects.
diff --git a/Doc/libsocket.tex b/Doc/libsocket.tex
index 8f6df69..8dc7acf 100644
--- a/Doc/libsocket.tex
+++ b/Doc/libsocket.tex
@@ -215,7 +215,7 @@ Connect to a remote socket at \var{address}.
\end{funcdesc}
\begin{funcdesc}{connect_ex}{address}
-Likecode{connect(\var{address})}, but return an error indicator
+Like \code{connect(\var{address})}, but return an error indicator
instead of raising an exception. The error indicator is 0 if the
operation succeeded, otherwise the value of the \code{errno}
variable. This is useful e.g. for asynchronous connects.