aboutsummaryrefslogtreecommitdiff
path: root/manual/socket.texi
diff options
context:
space:
mode:
authorNicolas Boulenguez <nicolas.boulenguez@free.fr>2012-02-17 17:44:38 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-17 17:44:38 +0000
commitcc6e48bc7c8e7a349147d5ce7683591175134076 (patch)
treec2df9fa3e01548be4bebf1736d1040ce8405765d /manual/socket.texi
parent6dd8f3dca0dacac90815a8776142bd28ba59513e (diff)
downloadglibc-cc6e48bc7c8e7a349147d5ce7683591175134076.zip
glibc-cc6e48bc7c8e7a349147d5ce7683591175134076.tar.gz
glibc-cc6e48bc7c8e7a349147d5ce7683591175134076.tar.bz2
Fix various problems with @deftypefun lines.
Diffstat (limited to 'manual/socket.texi')
-rw-r--r--manual/socket.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/manual/socket.texi b/manual/socket.texi
index 25f45a1..3e3410e 100644
--- a/manual/socket.texi
+++ b/manual/socket.texi
@@ -500,14 +500,14 @@ interface name, including its terminating zero byte.
@comment net/if.h
@comment IPv6 basic API
-@deftypefun {unsigned int} if_nametoindex (const char *ifname)
+@deftypefun {unsigned int} if_nametoindex (const char *@var{ifname})
This function yields the interface index corresponding to a particular
name. If no interface exists with the name given, it returns 0.
@end deftypefun
@comment net/if.h
@comment IPv6 basic API
-@deftypefun {char *} if_indextoname (unsigned int ifindex, char *ifname)
+@deftypefun {char *} if_indextoname (unsigned int @var{ifindex}, char *@var{ifname})
This function maps an interface index to its corresponding name. The
returned name is placed in the buffer pointed to by @code{ifname}, which
must be at least @code{IFNAMSIZ} bytes in length. If the index was
@@ -545,7 +545,7 @@ use.
@comment net/if.h
@comment IPv6 basic API
-@deftypefun void if_freenameindex (struct if_nameindex *ptr)
+@deftypefun void if_freenameindex (struct if_nameindex *@var{ptr})
This function frees the structure returned by an earlier call to
@code{if_nameindex}.
@end deftypefun
@@ -2643,7 +2643,7 @@ more information about the @code{connect} function.
@comment sys/socket.h
@comment BSD
-@deftypefun int sendto (int @var{socket}, void *@var{buffer}. size_t @var{size}, int @var{flags}, struct sockaddr *@var{addr}, socklen_t @var{length})
+@deftypefun int sendto (int @var{socket}, void *@var{buffer}, size_t @var{size}, int @var{flags}, struct sockaddr *@var{addr}, socklen_t @var{length})
The @code{sendto} function transmits the data in the @var{buffer}
through the socket @var{socket} to the destination address specified
by the @var{addr} and @var{length} arguments. The @var{size} argument