Markup fixes.

Approved by:	re
This commit is contained in:
Ruslan Ermilov 2005-06-16 19:01:07 +00:00
parent a4be0b3cc1
commit 48856b0042
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=147434
3 changed files with 17 additions and 10 deletions

View file

@ -1,6 +1,5 @@
.\" $KAME: gai_strerror.3,v 1.1 2005/01/05 03:04:47 itojun Exp $ .\" $KAME: gai_strerror.3,v 1.1 2005/01/05 03:04:47 itojun Exp $
.\" $OpenBSD: gai_strerror.3,v 1.4 2004/12/20 23:04:53 millert Exp $ .\" $OpenBSD: gai_strerror.3,v 1.4 2004/12/20 23:04:53 millert Exp $
.\" $FreeBSD$
.\" .\"
.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
.\" Copyright (C) 2000, 2001 Internet Software Consortium. .\" Copyright (C) 2000, 2001 Internet Software Consortium.
@ -17,6 +16,8 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE. .\" PERFORMANCE OF THIS SOFTWARE.
.\" .\"
.\" $FreeBSD$
.\"
.Dd December 20, 2004 .Dd December 20, 2004
.Dt GAI_STRERROR 3 .Dt GAI_STRERROR 3
.Os .Os
@ -24,9 +25,9 @@
.Nm gai_strerror .Nm gai_strerror
.Nd get error message string from EAI_xxx error code .Nd get error message string from EAI_xxx error code
.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 "const char *" .Ft "const char *"
.Fn gai_strerror "int ecode" .Fn gai_strerror "int ecode"
.Sh DESCRIPTION .Sh DESCRIPTION
@ -39,9 +40,9 @@ or
.Xr getnameinfo 3 . .Xr getnameinfo 3 .
.Pp .Pp
The following error codes and their meaning are defined in The following error codes and their meaning are defined in
.Aq Pa netdb.h : .In netdb.h :
.Pp .Pp
.Bl -tag -width "EAI_ADDRFAMILYXX" -offset indent -compact .Bl -tag -width ".Dv EAI_BADFLAGS" -offset indent -compact
.It Dv EAI_AGAIN .It Dv EAI_AGAIN
temporary failure in name resolution temporary failure in name resolution
.It Dv EAI_BADFLAGS .It Dv EAI_BADFLAGS
@ -54,7 +55,7 @@ invalid value for
non-recoverable failure in name resolution non-recoverable failure in name resolution
.It Dv EAI_FAMILY .It Dv EAI_FAMILY
.Fa ai_family .Fa ai_family
not supported. not supported
.It Dv EAI_MEMORY .It Dv EAI_MEMORY
memory allocation failure memory allocation failure
.It Dv EAI_NONAME .It Dv EAI_NONAME
@ -76,7 +77,9 @@ system error returned in
.Va errno .Va errno
.El .El
.Sh RETURN VALUES .Sh RETURN VALUES
The
.Fn gai_strerror .Fn gai_strerror
function
returns a pointer to the error message string corresponding to returns a pointer to the error message string corresponding to
.Fa ecode . .Fa ecode .
If If

View file

@ -157,7 +157,8 @@ argument is non-null it must point to at least 41 characters of buffer space.
.Xr md2 3 , .Xr md2 3 ,
.Xr md4 3 , .Xr md4 3 ,
.Xr md5 3 , .Xr md5 3 ,
.Xr ripemd 3 .Xr ripemd 3 ,
.Xr sha256 3
.Sh HISTORY .Sh HISTORY
These functions appeared in These functions appeared in
.Fx 4.0 . .Fx 4.0 .

View file

@ -48,14 +48,18 @@ as they can then use
.Xr libmap.conf 5 .Xr libmap.conf 5
to select the threading implementation on a per-application basis. to select the threading implementation on a per-application basis.
.Pp .Pp
The
.Nm .Nm
library
has been optimized for use by applications expecting system scope thread has been optimized for use by applications expecting system scope thread
semantics, and can provide significant performance improvements. semantics, and can provide significant performance improvements.
.Sh SEE ALSO .Sh SEE ALSO
.Xr pthread 3 , .Xr pthread 3
.Sh AUTHORS .Sh AUTHORS
.An -nosplit .An -nosplit
The
.Nm .Nm
library
was originally created by was originally created by
.An "Jeff Roberson" Aq jeff@FreeBSD.org , .An "Jeff Roberson" Aq jeff@FreeBSD.org ,
and enhanced by and enhanced by
@ -64,4 +68,3 @@ and
.An "Mike Makonnen" Aq mtm@FreeBSD.org . .An "Mike Makonnen" Aq mtm@FreeBSD.org .
It has been substantially rewritten and optimized by It has been substantially rewritten and optimized by
.An "David Xu" Aq davidxu@FreeBSD.org . .An "David Xu" Aq davidxu@FreeBSD.org .
.An -split