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

« back to all changes in this revision

Viewing changes to man2/send.2

  • Committer: Bazaar Package Importer
  • Author(s): Loïc Minier
  • Date: 2010-11-11 16:51:09 UTC
  • mfrom: (1.1.44 upstream) (2.2.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101111165109-3yiyen1axa1ju3s0
Tags: 3.26-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:
35
35
.\" Modified Oct 2003 by aeb
36
36
.\" Modified 2004-07-01 by mtk
37
37
.\"
38
 
.TH SEND 2 2009-02-23 "Linux" "Linux Programmer's Manual"
 
38
.TH SEND 2 2010-08-29 "Linux" "Linux Programmer's Manual"
39
39
.SH NAME
40
40
send, sendto, sendmsg \- send a message on a socket
41
41
.SH SYNOPSIS
72
72
.BR write (2)
73
73
is the presence of
74
74
.IR flags .
75
 
With zero
 
75
With a zero
76
76
.I flags
77
77
argument,
78
78
.BR send ()
250
250
    struct iovec *msg_iov;        /* scatter/gather array */
251
251
    size_t        msg_iovlen;     /* # elements in msg_iov */
252
252
    void         *msg_control;    /* ancillary data, see below */
253
 
    socklen_t     msg_controllen; /* ancillary data buffer len */
 
253
    size_t        msg_controllen; /* ancillary data buffer len */
254
254
    int           msg_flags;      /* flags on received message */
255
255
};
256
256
.fi
392
392
.I msghdr
393
393
structure should be typed as
394
394
.IR socklen_t ,
395
 
but glibc currently (2.4) types it as
 
395
but glibc currently types it as
396
396
.IR size_t .
397
397
.\" glibc bug raised 12 Mar 2006
398
398
.\" http://sourceware.org/bugzilla/show_bug.cgi?id=2448
424
424
.BR tcp (7),
425
425
.BR udp (7)
426
426
.SH COLOPHON
427
 
This page is part of release 3.25 of the Linux
 
427
This page is part of release 3.26 of the Linux
428
428
.I man-pages
429
429
project.
430
430
A description of the project,