.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
-.TH GETSERVENT_R 3 2008-08-19 "GNU" "Linux Programmer's Manual"
+.TH GETSERVENT_R 3 2010-09-10 "GNU" "Linux Programmer's Manual"
.SH NAME
getservent_r, getservbyname_r, getservbyport_r \- get
service entry (reentrant)
.BR getservent_r (),
.BR getservbyname_r (),
.BR getservbyport_r ():
+.RS 4
_BSD_SOURCE || _SVID_SOURCE
+.RE
.ad b
.SH DESCRIPTION
The
is set to NULL.
.SH "RETURN VALUE"
On success, these functions return 0.
-On error, a positive error number is returned.
+On error, they return one of the positive error numbers listed in errors.
On error, record not found
.RB ( getservbyname_r (),