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

« back to all changes in this revision

Viewing changes to man2/recv.2

  • Committer: Bazaar Package Importer
  • Author(s): Joey Schulze
  • Date: 2010-03-02 21:49:58 UTC
  • mfrom: (1.1.42 upstream) (2.2.5 sid)
  • Revision ID: james.westby@ubuntu.com-20100302214958-69yjgb70t7wrjo3m
New upstream version
. Remove crufty statement in setuid(2) that seteuid() is not in POSIX
(closes: Bug#569812)
. Fix description of 'nochdir' argument in daemon(3) (closes: Bug#554819)
. Fix NAME line in path_resolution(7) (closes: Bug#558300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
received from.
111
111
.PP
112
112
If no messages are available at the socket, the receive calls wait for a
113
 
message to arrive, unless the socket is non-blocking (see
 
113
message to arrive, unless the socket is nonblocking (see
114
114
.BR fcntl (2)),
115
115
in which case the value \-1 is returned and the external variable
116
116
.I errno
145
145
.BR open (2).
146
146
.TP
147
147
.BR MSG_DONTWAIT " (since Linux 2.2)"
148
 
Enables non-blocking operation; if the operation would block,
 
148
Enables nonblocking operation; if the operation would block,
149
149
the call fails with the error
150
150
.BR EAGAIN " or " EWOULDBLOCK
151
151
(this can also be enabled using the
396
396
.TP
397
397
.BR EAGAIN " or " EWOULDBLOCK
398
398
.\" Actually EAGAIN on Linux
399
 
The socket is marked non-blocking and the receive operation
 
399
The socket is marked nonblocking and the receive operation
400
400
would block, or a receive timeout had been set and the timeout expired
401
401
before data was received.
402
402
POSIX.1-2001 allows either error to be returned for this case,
496
496
.BR sockatmark (3),
497
497
.BR socket (7)
498
498
.SH COLOPHON
499
 
This page is part of release 3.23 of the Linux
 
499
This page is part of release 3.24 of the Linux
500
500
.I man-pages
501
501
project.
502
502
A description of the project,