* write(2) man page missing error code @ 2010-08-26 20:30 Sutin, Brian M HS [not found] ` <E2C0377E93FA8B4194658987E40226F001073EDC-JC38xCScHSXe46enX5xh1IkgB36zAFJh@public.gmane.org> 0 siblings, 1 reply; 2+ messages in thread From: Sutin, Brian M HS @ 2010-08-26 20:30 UTC (permalink / raw) To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA Manpages-dev 3.23-1 Linux 2.6.32-24 Ubuntu Lucid I am getting the error code EDESTADDRREQ from a write() to a udp port. It isn't mentioned in the man page as a possibility. -- Brian M. Sutin, Ph.D. Hamilton Sundstrand Space Systems International 2771 North Garey Avenue, Pomona, CA 91767 (909) 593 - 3581 x4793 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <E2C0377E93FA8B4194658987E40226F001073EDC-JC38xCScHSXe46enX5xh1IkgB36zAFJh@public.gmane.org>]
* Re: write(2) man page missing error code [not found] ` <E2C0377E93FA8B4194658987E40226F001073EDC-JC38xCScHSXe46enX5xh1IkgB36zAFJh@public.gmane.org> @ 2010-08-29 13:52 ` Michael Kerrisk 0 siblings, 0 replies; 2+ messages in thread From: Michael Kerrisk @ 2010-08-29 13:52 UTC (permalink / raw) To: Sutin, Brian M HS; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA Hello Brian, On Thu, Aug 26, 2010 at 10:30 PM, Sutin, Brian M HS <Brian.Sutin-ErF4HNK4sl3QT0dZR+AlfA@public.gmane.org> wrote: > Manpages-dev 3.23-1 > Linux 2.6.32-24 > Ubuntu Lucid > > I am getting the error code EDESTADDRREQ from a write() to a udp port. It isn't mentioned in the man page as a possibility. Thanks for the report. For upstream man-pages-3.26, I added the following --- a/man2/write.2 +++ b/man2/write.2 @@ -128,6 +128,11 @@ so a portable application should check for both possibilities. .I fd is not a valid file descriptor or is not open for writing. .TP +.B EDESTADDRREQ +.I fd +refers to a datagram socket for which a peer address has not been set using +.BR connect (2). +.TP .B EFAULT .I buf is outside your accessible address space. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-29 13:52 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-08-26 20:30 write(2) man page missing error code Sutin, Brian M HS [not found] ` <E2C0377E93FA8B4194658987E40226F001073EDC-JC38xCScHSXe46enX5xh1IkgB36zAFJh@public.gmane.org> 2010-08-29 13:52 ` Michael Kerrisk
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.