~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/getprotoent_r.3

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-11-17 16:35:58 UTC
  • mfrom: (1.1.45 upstream) (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101117163558-9h3ho5jumqm3rdmd
Tags: 3.27-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
.\" Formatted or processed versions of this manual, if unaccompanied by
22
22
.\" the source, must acknowledge the copyright and authors of this work.
23
23
.\"
24
 
.TH GETPROTOENT_R 3  2008-08-19 "GNU" "Linux Programmer's Manual"
 
24
.TH GETPROTOENT_R 3  2010-09-10 "GNU" "Linux Programmer's Manual"
25
25
.SH NAME
26
26
getprotoent_r, getprotobyname_r, getprotobynumber_r \- get
27
27
protocol entry (reentrant)
50
50
.BR getprotoent_r (),
51
51
.BR getprotobyname_r (),
52
52
.BR getprotobynumber_r ():
 
53
.RS 4
53
54
_BSD_SOURCE || _SVID_SOURCE
 
55
.RE
54
56
.ad b
55
57
.SH DESCRIPTION
56
58
The
103
105
is set to NULL.
104
106
.SH "RETURN VALUE"
105
107
On success, these functions return 0.
106
 
On error, a positive error number is returned.
 
108
On error, they return one of the positive error numbers listed in ERRORS.
107
109
 
108
110
On error, record not found
109
111
.RB ( getprotobyname_r (),
234
236
.BR getprotoent (3),
235
237
.BR protocols (5)
236
238
.SH COLOPHON
237
 
This page is part of release 3.26 of the Linux
 
239
This page is part of release 3.27 of the Linux
238
240
.I man-pages
239
241
project.
240
242
A description of the project,