summaryrefslogtreecommitdiffstats
path: root/man3/getrpcent.3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--man3/getrpcent.321
1 files changed, 10 insertions, 11 deletions
diff --git a/man3/getrpcent.3 b/man3/getrpcent.3
index be94a0e..253b7ca 100644
--- a/man3/getrpcent.3
+++ b/man3/getrpcent.3
@@ -6,7 +6,7 @@
.\" %%%LICENSE_END
.\"
.\" @(#)getrpcent.3n 2.2 88/08/02 4.0 RPCSRC; from 1.11 88/03/14 SMI
-.TH getrpcent 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH getrpcent 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
getrpcent, getrpcbyname, getrpcbynumber, setrpcent, endrpcent \- get
RPC entry
@@ -16,12 +16,12 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <netdb.h>
-.PP
+.P
.B struct rpcent *getrpcent(void);
-.PP
+.P
.BI "struct rpcent *getrpcbyname(const char *" name );
.BI "struct rpcent *getrpcbynumber(int " number );
-.PP
+.P
.BI "void setrpcent(int " stayopen );
.B void endrpcent(void);
.fi
@@ -34,7 +34,7 @@ and
functions each return a pointer to an object with the
following structure containing the broken-out
fields of an entry in the RPC program number data base.
-.PP
+.P
.in +4n
.EX
struct rpcent {
@@ -44,7 +44,7 @@ struct rpcent {
};
.EE
.in
-.PP
+.P
The members of this structure are:
.TP
.I r_name
@@ -55,12 +55,12 @@ A NULL-terminated list of alternate names for the RPC program.
.TP
.I r_number
The RPC program number for this service.
-.PP
+.P
The
.BR getrpcent ()
function reads the next entry from the database.
A connection is opened to the database if necessary.
-.PP
+.P
The
.BR setrpcent ()
function opens a connection to the database,
@@ -72,11 +72,11 @@ then the connection to the database
will not be closed between calls to one of the
.BR getrpc* ()
functions.
-.PP
+.P
The
.BR endrpcent ()
function closes the connection to the database.
-.PP
+.P
The
.BR getrpcbyname ()
and
@@ -120,7 +120,6 @@ T{
.BR endrpcent ()
T} Thread safety MT-Safe locale
.TE
-.sp 1
.SH STANDARDS
BSD.
.SH HISTORY