[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error in manpage recvfrom
From: |
Andreas Jaeger |
Subject: |
Re: error in manpage recvfrom |
Date: |
Fri, 21 Sep 2001 07:57:37 +0200 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Academic Rigor) |
Marshal <address@hidden> writes:
> There is a very small error in the man page of recvfrom.
> I don't know if this is the right place to report it but
> here we go.
Andries is the maintainer of the man page, I've CC'ed him to verify
this.
> between argument 4 and argument 5 a comma (,) is missing.
>
> --- copy/paste
> SYNOPSIS
> #include <sys/types.h>
> #include <sys/socket.h>
>
> int recv(int s, void *buf, int len, unsigned int flags);
>
> -->THIS LINE---> int recvfrom(int s, void *buf, int len,
> unsigned int flags struct sockaddr *from, int *fromlen);
>
> int recvmsg(int s, struct msghdr *msg, unsigned int flags);
This is fine in man-pages-1.35 but the declaration above is broken in
another way also: flags is just an int, not an unsigned int. 1.35 has
this correct so I guess you're using an old man-pages package,
Andreas
> DESCRIPTION
> --- end
>
> send replies to this messages also to my mailaddress. I'm
> not a member of the mailinglist.
--
Andreas Jaeger
SuSE Labs address@hidden
private address@hidden
http://www.suse.de/~aj