summaryrefslogtreecommitdiff
path: root/src/lib/libc/net/getprotoent.3
diff options
context:
space:
mode:
authoraaron <>1999-05-25 01:50:58 +0000
committeraaron <>1999-05-25 01:50:58 +0000
commite3dff71d030fda448c247d737ae87f11183d848e (patch)
treef0263c8961e25865161c5f5da341c9de6f60af97 /src/lib/libc/net/getprotoent.3
parente6b2922cf0ad8bc29c297cc71a1f5c4eb01a3ece (diff)
downloadopenbsd-e3dff71d030fda448c247d737ae87f11183d848e.tar.gz
openbsd-e3dff71d030fda448c247d737ae87f11183d848e.tar.bz2
openbsd-e3dff71d030fda448c247d737ae87f11183d848e.zip
all functions need a return type and at least one arg, even if it's void
Diffstat (limited to 'src/lib/libc/net/getprotoent.3')
-rw-r--r--src/lib/libc/net/getprotoent.38
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libc/net/getprotoent.3 b/src/lib/libc/net/getprotoent.3
index 91c49d7439..46ab239c50 100644
--- a/src/lib/libc/net/getprotoent.3
+++ b/src/lib/libc/net/getprotoent.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getprotoent.3,v 1.3 1999/05/23 14:11:01 aaron Exp $ 1.\" $OpenBSD: getprotoent.3,v 1.4 1999/05/25 01:50:58 aaron Exp $
2.\" 2.\"
3.\" Copyright (c) 1983, 1991, 1993 3.\" Copyright (c) 1983, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -44,13 +44,15 @@
44.Sh SYNOPSIS 44.Sh SYNOPSIS
45.Fd #include <netdb.h> 45.Fd #include <netdb.h>
46.Ft struct protoent * 46.Ft struct protoent *
47.Fn getprotoent 47.Fn getprotoent "void"
48.Ft struct protoent * 48.Ft struct protoent *
49.Fn getprotobyname "char *name" 49.Fn getprotobyname "char *name"
50.Ft struct protoent * 50.Ft struct protoent *
51.Fn getprotobynumber "int proto" 51.Fn getprotobynumber "int proto"
52.Ft void
52.Fn setprotoent "int stayopen" 53.Fn setprotoent "int stayopen"
53.Fn endprotoent 54.Ft void
55.Fn endprotoent "void"
54.Sh DESCRIPTION 56.Sh DESCRIPTION
55The 57The
56.Fn getprotoent , 58.Fn getprotoent ,