aboutsummaryrefslogtreecommitdiffstats
path: root/man/man3/getservent_r.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/man3/getservent_r.3')
-rw-r--r--man/man3/getservent_r.315
1 files changed, 9 insertions, 6 deletions
diff --git a/man/man3/getservent_r.3 b/man/man3/getservent_r.3
index 698e158a21..a2b5959adb 100644
--- a/man/man3/getservent_r.3
+++ b/man/man3/getservent_r.3
@@ -15,18 +15,21 @@ Standard C library
.nf
.B #include <netdb.h>
.P
-.BI "int getservent_r(struct servent *restrict " result_buf ,
-.BI " char " buf "[restrict ." size "], size_t " size ,
+.BI "int getservent_r(size_t " size ;
+.BI " struct servent *restrict " result_buf ,
+.BI " char " buf "[restrict " size "], size_t " size ,
.BI " struct servent **restrict " result );
-.BI "int getservbyname_r(const char *restrict " name ,
+.BI "int getservbyname_r(size_t " size ;
+.BI " const char *restrict " name ,
.BI " const char *restrict " proto ,
.BI " struct servent *restrict " result_buf ,
-.BI " char " buf "[restrict ." size "], size_t " size ,
+.BI " char " buf "[restrict " size "], size_t " size ,
.BI " struct servent **restrict " result );
-.BI "int getservbyport_r(int " port ,
+.BI "int getservbyport_r(size_t " size ;
+.BI " int " port ,
.BI " const char *restrict " proto ,
.BI " struct servent *restrict " result_buf ,
-.BI " char " buf "[restrict ." size "], size_t " size ,
+.BI " char " buf "[restrict " size "], size_t " size ,
.BI " struct servent **restrict " result );
.P
.fi