Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/rpc/getrpcent.3,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/rpc/getrpcent.3,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.6 retrieving revision 1.6.12.3 diff -u -p -r1.6 -r1.6.12.3 --- src/lib/libc/rpc/getrpcent.3 1998/02/05 18:49:06 1.6 +++ src/lib/libc/rpc/getrpcent.3 2002/03/22 20:42:23 1.6.12.3 @@ -1,5 +1,5 @@ .\" @(#)getrpcent.3n 2.2 88/08/02 4.0 RPCSRC; from 1.11 88/03/14 SMI -.\" $NetBSD: getrpcent.3,v 1.6 1998/02/05 18:49:06 perry Exp $ +.\" $NetBSD: getrpcent.3,v 1.6.12.3 2002/03/22 20:42:23 nathanw Exp $ .\" .Dd December 14, 1987 .Dt GETRPCENT 3 @@ -14,7 +14,7 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.Fd #include +.Fd #include \*[Lt]rpc/rpc.h\*[Gt] .Ft struct rpcent * .Fn getrpcent void .Ft struct rpcent * @@ -23,7 +23,7 @@ .Fn getrpcbynumber "int number" .Ft void .Fn setrpcent "int stayopen" -.Ft void +.Ft void .Fn endrpcent void .Sh DESCRIPTION .Fn getrpcent , @@ -61,9 +61,9 @@ opens and rewinds the file. If the .Fa stayopen flag is non-zero, the net data base will not be closed after each call to -.Fn getrpcent +.Fn getrpcent (either directly, or indirectly through one of -the other +the other .Dq getrpc calls). .Pp @@ -78,16 +78,16 @@ of the file until a matching rpc program program number is found, or until end-of-file is encountered. .Sh FILES .Pa /etc/rpc -.Sh SEE ALSO -.Xr rpc 5 , -.Xr rpcinfo 8 , -.Xr ypserv 8 .Sh DIAGNOSTICS A .Dv NULL -pointer is returned on +pointer is returned on .Dv EOF or error. +.Sh SEE ALSO +.Xr rpc 5 , +.Xr rpcinfo 8 , +.Xr ypserv 8 .Sh BUGS All information is contained in a static area