diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-11-16 15:02:35 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-11-16 15:02:35 +0000 |
commit | f2c2ff1baf52aee84f7261dd1c3b8687b02c1a66 (patch) | |
tree | 434d7f0e49e17245dd98a1aaa75f64f389e283e5 /lib | |
parent | ef999ad6bb4e9351f347886730f70e12aec77e2a (diff) | |
download | FreeBSD-src-f2c2ff1baf52aee84f7261dd1c3b8687b02c1a66.zip FreeBSD-src-f2c2ff1baf52aee84f7261dd1c3b8687b02c1a66.tar.gz |
- the preferred way to write a NULL pointer constant is with NULL
- whitespace nit
Reviewed by: glebius
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/getnetent.3 | 5 | ||||
-rw-r--r-- | lib/libc/net/getprotoent.3 | 5 | ||||
-rw-r--r-- | lib/libc/net/getservent.3 | 5 |
3 files changed, 6 insertions, 9 deletions
diff --git a/lib/libc/net/getnetent.3 b/lib/libc/net/getnetent.3 index 2e9cd33..ec08b6b 100644 --- a/lib/libc/net/getnetent.3 +++ b/lib/libc/net/getnetent.3 @@ -73,7 +73,7 @@ The order of the lookups is controlled by the `networks' entry in .Xr nsswitch.conf 5 . .Bd -literal -offset indent -struct netent { +struct netent { char *n_name; /* official name of net */ char **n_aliases; /* alias list */ int n_addrtype; /* net number type */ @@ -142,8 +142,7 @@ Network numbers are supplied in host order. .It Pa /etc/resolv.conf .El .Sh DIAGNOSTICS -Null pointer -(0) returned on +Null pointer returned on .Dv EOF or error. .Sh SEE ALSO diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3 index 9f9e00d..565e038 100644 --- a/lib/libc/net/getprotoent.3 +++ b/lib/libc/net/getprotoent.3 @@ -65,7 +65,7 @@ containing the broken-out fields of a line in the network protocol data base, .Pa /etc/protocols . .Bd -literal -offset indent -struct protoent { +struct protoent { char *p_name; /* official name of protocol */ char **p_aliases; /* alias list */ int p_proto; /* protocol number */ @@ -117,8 +117,7 @@ or until .Dv EOF is encountered. .Sh RETURN VALUES -Null pointer -(0) returned on +Null pointer returned on .Dv EOF or error. .Sh FILES diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3 index 65d40bb..5f5a452 100644 --- a/lib/libc/net/getservent.3 +++ b/lib/libc/net/getservent.3 @@ -65,7 +65,7 @@ containing the broken-out fields of a line in the network services data base, .Pa /etc/services . .Bd -literal -offset indent -struct servent { +struct servent { char *s_name; /* official name of service */ char **s_aliases; /* alias list */ int s_port; /* port service resides at */ @@ -130,8 +130,7 @@ searches must also match the protocol. .It Pa /etc/services .El .Sh DIAGNOSTICS -Null pointer -(0) returned on +Null pointer returned on .Dv EOF or error. .Sh SEE ALSO |