diff --git a/lib/libc/net/gai_strerror.3 b/lib/libc/net/gai_strerror.3 index 2af665a86bf2..7c5503026ed1 100644 --- a/lib/libc/net/gai_strerror.3 +++ b/lib/libc/net/gai_strerror.3 @@ -1,6 +1,5 @@ .\" $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 $ -.\" $FreeBSD$ .\" .\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") .\" 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 .\" PERFORMANCE OF THIS SOFTWARE. .\" +.\" $FreeBSD$ +.\" .Dd December 20, 2004 .Dt GAI_STRERROR 3 .Os @@ -24,9 +25,9 @@ .Nm gai_strerror .Nd get error message string from EAI_xxx error code .Sh SYNOPSIS -.Fd #include -.Fd #include -.Fd #include +.In sys/types.h +.In sys/socket.h +.In netdb.h .Ft "const char *" .Fn gai_strerror "int ecode" .Sh DESCRIPTION @@ -39,9 +40,9 @@ or .Xr getnameinfo 3 . .Pp The following error codes and their meaning are defined in -.Aq Pa netdb.h : +.In netdb.h : .Pp -.Bl -tag -width "EAI_ADDRFAMILYXX" -offset indent -compact +.Bl -tag -width ".Dv EAI_BADFLAGS" -offset indent -compact .It Dv EAI_AGAIN temporary failure in name resolution .It Dv EAI_BADFLAGS @@ -54,7 +55,7 @@ invalid value for non-recoverable failure in name resolution .It Dv EAI_FAMILY .Fa ai_family -not supported. +not supported .It Dv EAI_MEMORY memory allocation failure .It Dv EAI_NONAME @@ -76,7 +77,9 @@ system error returned in .Va errno .El .Sh RETURN VALUES +The .Fn gai_strerror +function returns a pointer to the error message string corresponding to .Fa ecode . If diff --git a/lib/libmd/sha.3 b/lib/libmd/sha.3 index 69a1354f7ecc..f4e2f192b539 100644 --- a/lib/libmd/sha.3 +++ b/lib/libmd/sha.3 @@ -157,7 +157,8 @@ argument is non-null it must point to at least 41 characters of buffer space. .Xr md2 3 , .Xr md4 3 , .Xr md5 3 , -.Xr ripemd 3 +.Xr ripemd 3 , +.Xr sha256 3 .Sh HISTORY These functions appeared in .Fx 4.0 . diff --git a/lib/libthr/libthr.3 b/lib/libthr/libthr.3 index 2133ccb78152..356edd903006 100644 --- a/lib/libthr/libthr.3 +++ b/lib/libthr/libthr.3 @@ -48,14 +48,18 @@ as they can then use .Xr libmap.conf 5 to select the threading implementation on a per-application basis. .Pp +The .Nm +library has been optimized for use by applications expecting system scope thread semantics, and can provide significant performance improvements. .Sh SEE ALSO -.Xr pthread 3 , +.Xr pthread 3 .Sh AUTHORS .An -nosplit +The .Nm +library was originally created by .An "Jeff Roberson" Aq jeff@FreeBSD.org , and enhanced by @@ -64,4 +68,3 @@ and .An "Mike Makonnen" Aq mtm@FreeBSD.org . It has been substantially rewritten and optimized by .An "David Xu" Aq davidxu@FreeBSD.org . -.An -split