mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 11:47:20 +00:00
mdoc: convert .Fd to .In, which is much nicer.
This commit is contained in:
parent
f9d4b3926a
commit
580dbd6574
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=251369
|
@ -29,7 +29,7 @@ Statically linked programs use an implementation of
|
||||||
.Fn dl_iterate_phdr
|
.Fn dl_iterate_phdr
|
||||||
from libc.
|
from libc.
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <link.h>
|
.In link.h
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fn dl_iterate_phdr "int (*callback)(struct dl_phdr_info *, size_t, void *)" "void *data"
|
.Fn dl_iterate_phdr "int (*callback)(struct dl_phdr_info *, size_t, void *)" "void *data"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
|
@ -26,9 +26,9 @@
|
||||||
.Nm freeaddrinfo
|
.Nm freeaddrinfo
|
||||||
.Nd socket address structure to host and service name
|
.Nd socket address structure to host and service name
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <sys/types.h>
|
.In sys/types.h
|
||||||
.Fd #include <sys/socket.h>
|
.In sys/socket.h
|
||||||
.Fd #include <netdb.h>
|
.In netdb.h
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fo getaddrinfo
|
.Fo getaddrinfo
|
||||||
.Fa "const char *hostname" "const char *servname"
|
.Fa "const char *hostname" "const char *servname"
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
.Nm getnameinfo
|
.Nm getnameinfo
|
||||||
.Nd socket address structure to hostname and service name
|
.Nd socket address structure to hostname and service name
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <sys/types.h>
|
.In sys/types.h
|
||||||
.Fd #include <sys/socket.h>
|
.In sys/socket.h
|
||||||
.Fd #include <netdb.h>
|
.In netdb.h
|
||||||
.Ft int
|
.Ft int
|
||||||
.Fo getnameinfo
|
.Fo getnameinfo
|
||||||
.Fa "const struct sockaddr *sa" "socklen_t salen" "char *host"
|
.Fa "const struct sockaddr *sa" "socklen_t salen" "char *host"
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
.Nm offsetof
|
.Nm offsetof
|
||||||
.Nd offset of a structure member
|
.Nd offset of a structure member
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <stddef.h>
|
.In stddef.h
|
||||||
.Ft size_t
|
.Ft size_t
|
||||||
.Fn offsetof "type" "member"
|
.Fn offsetof "type" "member"
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
.Nm ohash_entries
|
.Nm ohash_entries
|
||||||
.Nd light-weight open hashing
|
.Nd light-weight open hashing
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <stdint.h>
|
.In stdint.h
|
||||||
.Fd #include <stddef.h>
|
.In stddef.h
|
||||||
.Fd #include <ohash.h>
|
.In ohash.h
|
||||||
.Ft void
|
.Ft void
|
||||||
.Fn ohash_init "struct ohash *h" "unsigned int size" "struct ohash_info *info"
|
.Fn ohash_init "struct ohash *h" "unsigned int size" "struct ohash_info *info"
|
||||||
.Ft void
|
.Ft void
|
||||||
|
|
|
@ -25,9 +25,9 @@
|
||||||
.Nm ohash_qlookupi
|
.Nm ohash_qlookupi
|
||||||
.Nd helper functions for open hashing
|
.Nd helper functions for open hashing
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Fd #include <stdint.h>
|
.In stdint.h
|
||||||
.Fd #include <stddef.h>
|
.In stddef.h
|
||||||
.Fd #include <ohash.h>
|
.In ohash.h
|
||||||
.Ft uint32_t
|
.Ft uint32_t
|
||||||
.Fn ohash_interval "const char *start" "const char **pend"
|
.Fn ohash_interval "const char *start" "const char **pend"
|
||||||
.Ft "void *"
|
.Ft "void *"
|
||||||
|
|
Loading…
Reference in a new issue