Skip to content

Commit 7d8fa6c

Browse files
author
Vladimir Kotal
committed
fix translation
1 parent 0b9db93 commit 7d8fa6c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

threads.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,14 +1345,13 @@
13451345
thread safe. That said, it does not make it totally safe to use.
13461346
(not mentioning that a program relying on this behavior is not portable)
13471347
see example \example{reentrant/gethostbyname.c}.
1348-
A bit better is to use reentrantní version of this function called
1348+
A bit better is to use reentrant version of this function called
13491349
\texttt{gethostbyname\_r} (if it is available on given system),
13501350
which takes the address of where the result will be stored as parameter,
13511351
which makes it reentrant. Much better is to use standard function
13521352
\texttt{getaddrinfo} (see page) \pageref{GETADDRINFO}, which is reentrant
13531353
by itself.
13541354
1355-
13561355
\item Example: \example{reentrant/inet\_ntoa.c} -- shows that even
13571356
function written like so does not help if it is called twice within
13581357
the same call of \texttt{printf}. Each time it returns pointer with

0 commit comments

Comments
 (0)