mirror of https://github.com/mkerrisk/man-pages
RETURN VALUE: emphasize that returned pointer points to a
statically allocated structure. SEE ALSO: add getservent_r.3.
This commit is contained in:
parent
b5991a6e70
commit
23b211585a
|
@ -119,7 +119,8 @@ The
|
|||
.BR getservbyname ()
|
||||
and
|
||||
.BR getservbyport ()
|
||||
functions return the \fIservent\fP structure, or a NULL pointer if an
|
||||
functions return a pointer to a
|
||||
statically allocated \fIservent\fP structure, or a NULL pointer if an
|
||||
error occurs or the end of the file is reached.
|
||||
.SH FILES
|
||||
.TP
|
||||
|
@ -130,4 +131,5 @@ services database file
|
|||
.SH "SEE ALSO"
|
||||
.BR getnetent (3),
|
||||
.BR getprotoent (3),
|
||||
.BR getservent_r (3),
|
||||
.BR services (5)
|
||||
|
|
Loading…
Reference in New Issue