X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/dd2ad1581cc57a3caccb48cc37ee07acb869ed8b..f540a634ce59906ba07c5c2a261622aae92b6515:/lib/libc/gen/confstr.3 diff --git a/lib/libc/gen/confstr.3 b/lib/libc/gen/confstr.3 index c1ea65acf4..38ad2b39e2 100644 --- a/lib/libc/gen/confstr.3 +++ b/lib/libc/gen/confstr.3 @@ -31,9 +31,9 @@ .\" .\" @(#)confstr.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD: src/lib/libc/gen/confstr.3,v 1.5.2.5 2001/12/14 18:33:50 ru Exp $ -.\" $DragonFly: src/lib/libc/gen/confstr.3,v 1.2 2003/06/17 04:26:42 dillon Exp $ +.\" $DragonFly: src/lib/libc/gen/confstr.3,v 1.5 2006/12/06 16:33:29 tgen Exp $ .\" -.Dd June 4, 1993 +.Dd December 6, 2006 .Dt CONFSTR 3 .Os .Sh NAME @@ -60,7 +60,7 @@ The .Fa name argument specifies the system variable to be queried. Symbolic constants for each name value are found in the include file -.Aq Pa unistd.h . +.In unistd.h . The .Fa len argument specifies the size of the buffer referenced by the @@ -90,7 +90,7 @@ environment variable that finds all the standard utilities. .Sh RETURN VALUES If the call to .Fn confstr -is not successful, \-1 is returned and +is not successful, 0 is returned and .Va errno is set appropriately. Otherwise, if the variable does not have a configuration defined value, @@ -123,6 +123,11 @@ argument is invalid. .El .Sh SEE ALSO .Xr sysctl 3 +.Sh STANDARDS +The +.Fn confstr +function conforms to +.St -susv3 . .Sh HISTORY The .Fn confstr