mdoc: convert .Fd to .In, which is much nicer.

This commit is contained in:
joel 2013-06-04 07:37:06 +00:00
parent e5e0ffd044
commit a6e9df7131
6 changed files with 14 additions and 14 deletions

View File

@ -29,7 +29,7 @@ Statically linked programs use an implementation of
.Fn dl_iterate_phdr
from libc.
.Sh SYNOPSIS
.Fd #include <link.h>
.In link.h
.Ft int
.Fn dl_iterate_phdr "int (*callback)(struct dl_phdr_info *, size_t, void *)" "void *data"
.Sh DESCRIPTION

View File

@ -26,9 +26,9 @@
.Nm freeaddrinfo
.Nd socket address structure to host and service name
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netdb.h>
.In sys/types.h
.In sys/socket.h
.In netdb.h
.Ft int
.Fo getaddrinfo
.Fa "const char *hostname" "const char *servname"

View File

@ -25,9 +25,9 @@
.Nm getnameinfo
.Nd socket address structure to hostname and service name
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/socket.h>
.Fd #include <netdb.h>
.In sys/types.h
.In sys/socket.h
.In netdb.h
.Ft int
.Fo getnameinfo
.Fa "const struct sockaddr *sa" "socklen_t salen" "char *host"

View File

@ -23,7 +23,7 @@
.Nm offsetof
.Nd offset of a structure member
.Sh SYNOPSIS
.Fd #include <stddef.h>
.In stddef.h
.Ft size_t
.Fn offsetof "type" "member"
.Sh DESCRIPTION

View File

@ -31,9 +31,9 @@
.Nm ohash_entries
.Nd light-weight open hashing
.Sh SYNOPSIS
.Fd #include <stdint.h>
.Fd #include <stddef.h>
.Fd #include <ohash.h>
.In stdint.h
.In stddef.h
.In ohash.h
.Ft void
.Fn ohash_init "struct ohash *h" "unsigned int size" "struct ohash_info *info"
.Ft void

View File

@ -25,9 +25,9 @@
.Nm ohash_qlookupi
.Nd helper functions for open hashing
.Sh SYNOPSIS
.Fd #include <stdint.h>
.Fd #include <stddef.h>
.Fd #include <ohash.h>
.In stdint.h
.In stddef.h
.In ohash.h
.Ft uint32_t
.Fn ohash_interval "const char *start" "const char **pend"
.Ft "void *"