[BACK]Return to getrpcent.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / rpc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/rpc/getrpcent.3 between version 1.6.12.4 and 1.7

version 1.6.12.4, 2002/10/18 02:16:24 version 1.7, 2001/09/16 02:17:40
Line 14 
Line 14 
 .Sh LIBRARY  .Sh LIBRARY
 .Lb libc  .Lb libc
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Fd #include \*[Lt]rpc/rpc.h\*[Gt]  .Fd #include <rpc/rpc.h>
 .Ft struct rpcent *  .Ft struct rpcent *
 .Fn getrpcent void  .Fn getrpcent void
 .Ft struct rpcent *  .Ft struct rpcent *
Line 57  The rpc program number for this service.
Line 57  The rpc program number for this service.
 reads the next line of the file, opening the file if necessary.  reads the next line of the file, opening the file if necessary.
 .Pp  .Pp
 .Fn setrpcent  .Fn setrpcent
 opens and rewinds the file.  opens and rewinds the file.  If the
 If the  
 .Fa stayopen  .Fa stayopen
 flag is non-zero,  flag is non-zero,
 the net data base will not be closed after each call to  the net data base will not be closed after each call to
Line 79  of the file until a matching rpc program
Line 78  of the file until a matching rpc program
 program number is found, or until end-of-file is encountered.  program number is found, or until end-of-file is encountered.
 .Sh FILES  .Sh FILES
 .Pa /etc/rpc  .Pa /etc/rpc
   .Sh SEE ALSO
   .Xr rpc 5 ,
   .Xr rpcinfo 8 ,
   .Xr ypserv 8
 .Sh DIAGNOSTICS  .Sh DIAGNOSTICS
 A  A
 .Dv NULL  .Dv NULL
 pointer is returned on  pointer is returned on
 .Dv EOF  .Dv EOF
 or error.  or error.
 .Sh SEE ALSO  
 .Xr rpc 5 ,  
 .Xr rpcinfo 8 ,  
 .Xr ypserv 8  
 .Sh BUGS  .Sh BUGS
 All information  All information
 is contained in a static area  is contained in a static area

Legend:
Removed from v.1.6.12.4  
changed lines
  Added in v.1.7

CVSweb <webmaster@jp.NetBSD.org>