summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-10-26 15:52:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-10-26 15:52:51 +0000
commit74f61a0f9477afe3a3cc3b723d2f66f9a5b91831 (patch)
treedb731243ac1940a50f0bd26b37cc39c4ce531f5c /lib
parent840bb8c6a85292eea7022f2f7b74779e23ac0f0e (diff)
Add STANDARDS section
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/getprotoent.322
-rw-r--r--lib/libc/net/getservent.322
2 files changed, 42 insertions, 2 deletions
diff --git a/lib/libc/net/getprotoent.3 b/lib/libc/net/getprotoent.3
index 5ebd03cc45f..e29d53e5ce3 100644
--- a/lib/libc/net/getprotoent.3
+++ b/lib/libc/net/getprotoent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getprotoent.3,v 1.12 2004/10/25 03:09:01 millert Exp $
+.\" $OpenBSD: getprotoent.3,v 1.13 2004/10/26 15:52:50 millert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -167,6 +167,26 @@ is reached or an error occurs.
.El
.Sh SEE ALSO
.Xr protocols 5
+.Sh STANDARDS
+The
+.Fn getprotoent ,
+.Fn getprotobynumber ,
+.Fn getprotobyname ,
+.Fn setprotoent ,
+and
+.Fn endprotoent
+functions conform to
+.St -p1003.1-2003 .
+.Pp
+The
+.Fn getprotoent_r ,
+.Fn getprotobyport_r ,
+.Fn getprotobyname_r ,
+.Fn setprotoent_r ,
+and
+.Fn endprotoent_r
+functions are not currently standardized.
+This implementation follows the API used by HP, IBM and Digital.
.Sh HISTORY
The
.Fn getprotoent ,
diff --git a/lib/libc/net/getservent.3 b/lib/libc/net/getservent.3
index 0e93e195b6a..d5fa1df052d 100644
--- a/lib/libc/net/getservent.3
+++ b/lib/libc/net/getservent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getservent.3,v 1.15 2004/10/25 03:09:01 millert Exp $
+.\" $OpenBSD: getservent.3,v 1.16 2004/10/26 15:52:50 millert Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -174,6 +174,26 @@ is reached or an error occurs.
.Sh SEE ALSO
.Xr getprotoent 3 ,
.Xr services 5
+.Sh STANDARDS
+The
+.Fn getservent ,
+.Fn getservbynumber ,
+.Fn getservbyname ,
+.Fn setservent ,
+and
+.Fn endservent
+functions conform to
+.St -p1003.1-2003 .
+.Pp
+The
+.Fn getservent_r ,
+.Fn getservbyport_r ,
+.Fn getservbyname_r ,
+.Fn setservent_r ,
+and
+.Fn endservent_r
+functions are not currently standardized.
+This implementation follows the API used by HP, IBM and Digital.
.Sh HISTORY
The
.Fn getservent ,