Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/rpc netconfig(5), not (4), and whitespace fixes.



details:   https://anonhg.NetBSD.org/src/rev/03f6f4108486
branches:  trunk
changeset: 508240:03f6f4108486
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Apr 09 12:18:48 2001 +0000

description:
netconfig(5), not (4), and whitespace fixes.

diffstat:

 lib/libc/rpc/getnetconfig.3 |  38 +++++++++++++++++++-------------------
 1 files changed, 19 insertions(+), 19 deletions(-)

diffs (129 lines):

diff -r 38a4bb340047 -r 03f6f4108486 lib/libc/rpc/getnetconfig.3
--- a/lib/libc/rpc/getnetconfig.3       Mon Apr 09 12:17:35 2001 +0000
+++ b/lib/libc/rpc/getnetconfig.3       Mon Apr 09 12:18:48 2001 +0000
@@ -1,5 +1,5 @@
 .\"    @(#)getnetconfig.3n 1.28 93/06/02 SMI; from SVr4
-.\"    $NetBSD: getnetconfig.3,v 1.1 2000/06/02 23:11:11 fvdl Exp $
+.\"    $NetBSD: getnetconfig.3,v 1.2 2001/04/09 12:18:48 wiz Exp $
 .\" Copyright 1989 AT&T
 .Dd April 22, 2000
 .Dt GETNETCONFIG 3
@@ -32,13 +32,13 @@
 .Ft char *
 .Fn nc_sperror "void"
 .Sh DESCRIPTION
-The library routines described on this page 
+The library routines described on this page
 provide the application access to
-the system network configuration database, 
+the system network configuration database,
 .Pa /etc/netconfig .
 .Fn getnetconfig
 returns a pointer to the
-current entry in the 
+current entry in the
 .B netconfig
 database, formatted as a struct netconfig .
 Successive calls will return successive netconfig
@@ -47,9 +47,9 @@
 can be used to search the entire netconfig
 file.
 .Fn getnetconfig
-returns 
+returns
 .Dv NULL
-at the end of the file. 
+at the end of the file.
 .I handlep
 is the handle obtained through
 .Fn setnetconfig .
@@ -63,7 +63,7 @@
 .Fn getnetconfig
 and may be called at any other time.
 .Fn setnetconfig
-need not be called before a call to 
+need not be called before a call to
 .Fn getnetconfigent .
 .Fn setnetconfig
 returns a unique handle to be used by
@@ -87,9 +87,9 @@
 .Fn getnetconfigent
 returns a pointer
 to the netconfig structure corresponding
-to 
+to
 .Fa netid .
-It returns 
+It returns
 .Dv NULL
 if
 .Fa netid
@@ -97,10 +97,10 @@
 (that is, does not name an entry in the netconfig database).
 .Pp
 .Fn freenetconfigent
-frees the netconfig structure pointed to by 
+frees the netconfig structure pointed to by
 .Fa netconfigp
 (previously returned by
-.Fn getnetconfigent ).
+.Fn getnetconfigent ) .
 .Pp
 .Fn nc_perror
 prints a message to the standard error indicating why any of the
@@ -111,7 +111,7 @@
 A newline character is appended at the end of the message.
 .Pp
 .Fn nc_sperror
-is similar to 
+is similar to
 .Fn nc_perror
 but instead of sending the message
 to the standard error, will return a pointer to a string that
@@ -128,9 +128,9 @@
 .Fn setnetconfig
 returns a unique handle to be used by
 .Fn getnetconfig .
-In the case of an error, 
+In the case of an error,
 .Fn setnetconfig
-returns NULL and 
+returns NULL and
 .Fn nc_perror
 or
 .Fn nc_sperror
@@ -141,7 +141,7 @@
 database, formatted as a struct netconfig.
 .Fn getnetconfig
 returns NULL
-at the end of the file, or upon failure. 
+at the end of the file, or upon failure.
 .Pp
 .Fn endnetconfig
 returns 0 on success and -1 on failure
@@ -149,9 +149,9 @@
 .Fn setnetconfig
 was not called previously).
 .Pp
-On success, 
+On success,
 .B getnetconfigent(\|)
-returns a pointer to the 
+returns a pointer to the
 .B struct netconfig
 structure corresponding to
 .IR netid ;
@@ -159,11 +159,11 @@
 .Pp
 .Fn nc_sperror
 returns a pointer to a buffer which contains the error message string.
-This buffer is overwritten on each call. 
+This buffer is overwritten on each call.
 In multithreaded applications, this buffer is
 implemented as thread-specific data.
 .Sh FILES
 .Pa /etc/netconfig
 .Sh SEE ALSO
 .Xr getnetpath 3 ,
-.Xr netconfig 4
+.Xr netconfig 5



Home | Main Index | Thread Index | Old Index